Class CfnVerifiedAccessEndpointProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnVerifiedAccessEndpointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVerifiedAccessEndpointProps>
- Enclosing interface:
- CfnVerifiedAccessEndpointProps
@Stability(Stable)
public static final class CfnVerifiedAccessEndpointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVerifiedAccessEndpointProps>
A builder for
CfnVerifiedAccessEndpointProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationDomain(String applicationDomain) Sets the value ofCfnVerifiedAccessEndpointProps.getApplicationDomain()attachmentType(String attachmentType) Sets the value ofCfnVerifiedAccessEndpointProps.getAttachmentType()build()Builds the configured instance.description(String description) Sets the value ofCfnVerifiedAccessEndpointProps.getDescription()domainCertificateArn(String domainCertificateArn) Sets the value ofCfnVerifiedAccessEndpointProps.getDomainCertificateArn()endpointDomainPrefix(String endpointDomainPrefix) Sets the value ofCfnVerifiedAccessEndpointProps.getEndpointDomainPrefix()endpointType(String endpointType) Sets the value ofCfnVerifiedAccessEndpointProps.getEndpointType()loadBalancerOptions(IResolvable loadBalancerOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getLoadBalancerOptions()loadBalancerOptions(CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty loadBalancerOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getLoadBalancerOptions()networkInterfaceOptions(IResolvable networkInterfaceOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getNetworkInterfaceOptions()networkInterfaceOptions(CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty networkInterfaceOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getNetworkInterfaceOptions()policyDocument(String policyDocument) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyDocument()policyEnabled(Boolean policyEnabled) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyEnabled()policyEnabled(IResolvable policyEnabled) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyEnabled()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVerifiedAccessEndpointProps.getSecurityGroupIds()Sets the value ofCfnVerifiedAccessEndpointProps.getTags()verifiedAccessGroupId(String verifiedAccessGroupId) Sets the value ofCfnVerifiedAccessEndpointProps.getVerifiedAccessGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationDomain
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder applicationDomain(String applicationDomain) Sets the value ofCfnVerifiedAccessEndpointProps.getApplicationDomain()- Parameters:
applicationDomain- The DNS name for users to reach your application. This parameter is required.- Returns:
this
-
attachmentType
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder attachmentType(String attachmentType) Sets the value ofCfnVerifiedAccessEndpointProps.getAttachmentType()- Parameters:
attachmentType- The type of attachment used to provide connectivity between the AWS Verified Access endpoint and the application. This parameter is required.- Returns:
this
-
domainCertificateArn
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder domainCertificateArn(String domainCertificateArn) Sets the value ofCfnVerifiedAccessEndpointProps.getDomainCertificateArn()- Parameters:
domainCertificateArn- The ARN of a public TLS/SSL certificate imported into or created with ACM. This parameter is required.- Returns:
this
-
endpointDomainPrefix
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder endpointDomainPrefix(String endpointDomainPrefix) Sets the value ofCfnVerifiedAccessEndpointProps.getEndpointDomainPrefix()- Parameters:
endpointDomainPrefix- A custom identifier that is prepended to the DNS name that is generated for the endpoint. This parameter is required.- Returns:
this
-
endpointType
Sets the value ofCfnVerifiedAccessEndpointProps.getEndpointType()- Parameters:
endpointType- The type of AWS Verified Access endpoint. This parameter is required. Incoming application requests will be sent to an IP address, load balancer or a network interface depending on the endpoint type specified.- Returns:
this
-
verifiedAccessGroupId
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder verifiedAccessGroupId(String verifiedAccessGroupId) Sets the value ofCfnVerifiedAccessEndpointProps.getVerifiedAccessGroupId()- Parameters:
verifiedAccessGroupId- The ID of the AWS Verified Access group. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnVerifiedAccessEndpointProps.getDescription()- Parameters:
description- A description for the AWS Verified Access endpoint.- Returns:
this
-
loadBalancerOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder loadBalancerOptions(IResolvable loadBalancerOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getLoadBalancerOptions()- Parameters:
loadBalancerOptions- The load balancer details if creating the AWS Verified Access endpoint asload-balancertype.- Returns:
this
-
loadBalancerOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder loadBalancerOptions(CfnVerifiedAccessEndpoint.LoadBalancerOptionsProperty loadBalancerOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getLoadBalancerOptions()- Parameters:
loadBalancerOptions- The load balancer details if creating the AWS Verified Access endpoint asload-balancertype.- Returns:
this
-
networkInterfaceOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder networkInterfaceOptions(IResolvable networkInterfaceOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getNetworkInterfaceOptions()- Parameters:
networkInterfaceOptions- The options for network-interface type endpoint.- Returns:
this
-
networkInterfaceOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder networkInterfaceOptions(CfnVerifiedAccessEndpoint.NetworkInterfaceOptionsProperty networkInterfaceOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getNetworkInterfaceOptions()- Parameters:
networkInterfaceOptions- The options for network-interface type endpoint.- Returns:
this
-
policyDocument
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder policyDocument(String policyDocument) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyDocument()- Parameters:
policyDocument- The Verified Access policy document.- Returns:
this
-
policyEnabled
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder policyEnabled(Boolean policyEnabled) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyEnabled()- Parameters:
policyEnabled- The status of the Verified Access policy.- Returns:
this
-
policyEnabled
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder policyEnabled(IResolvable policyEnabled) Sets the value ofCfnVerifiedAccessEndpointProps.getPolicyEnabled()- Parameters:
policyEnabled- The status of the Verified Access policy.- Returns:
this
-
securityGroupIds
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVerifiedAccessEndpointProps.getSecurityGroupIds()- Parameters:
securityGroupIds- The IDs of the security groups for the endpoint.- Returns:
this
-
tags
Sets the value ofCfnVerifiedAccessEndpointProps.getTags()- Parameters:
tags- The tags.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVerifiedAccessEndpointProps>- Returns:
- a new instance of
CfnVerifiedAccessEndpointProps - Throws:
NullPointerException- if any required attribute was not provided
-