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.cidrOptions(IResolvable cidrOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getCidrOptions()cidrOptions(CfnVerifiedAccessEndpoint.CidrOptionsProperty cidrOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getCidrOptions()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()rdsOptions(IResolvable rdsOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getRdsOptions()Sets the value ofCfnVerifiedAccessEndpointProps.getRdsOptions()securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnVerifiedAccessEndpointProps.getSecurityGroupIds()sseSpecification(IResolvable sseSpecification) Sets the value ofCfnVerifiedAccessEndpointProps.getSseSpecification()sseSpecification(CfnVerifiedAccessEndpoint.SseSpecificationProperty sseSpecification) Sets the value ofCfnVerifiedAccessEndpointProps.getSseSpecification()Sets the value ofCfnVerifiedAccessEndpointProps.getTags()verifiedAccessGroupId(String verifiedAccessGroupId) Sets the value ofCfnVerifiedAccessEndpointProps.getVerifiedAccessGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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
-
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
-
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.- Returns:
this
-
cidrOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder cidrOptions(IResolvable cidrOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getCidrOptions()- Parameters:
cidrOptions- The options for a CIDR endpoint.- Returns:
this
-
cidrOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder cidrOptions(CfnVerifiedAccessEndpoint.CidrOptionsProperty cidrOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getCidrOptions()- Parameters:
cidrOptions- The options for a CIDR endpoint.- Returns:
this
-
description
Sets the value ofCfnVerifiedAccessEndpointProps.getDescription()- Parameters:
description- A description for the AWS Verified Access endpoint.- 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.- 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.- 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
-
rdsOptions
Sets the value ofCfnVerifiedAccessEndpointProps.getRdsOptions()- Parameters:
rdsOptions- The options for an RDS endpoint.- Returns:
this
-
rdsOptions
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder rdsOptions(CfnVerifiedAccessEndpoint.RdsOptionsProperty rdsOptions) Sets the value ofCfnVerifiedAccessEndpointProps.getRdsOptions()- Parameters:
rdsOptions- The options for an RDS endpoint.- 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
-
sseSpecification
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder sseSpecification(IResolvable sseSpecification) Sets the value ofCfnVerifiedAccessEndpointProps.getSseSpecification()- Parameters:
sseSpecification- The options for additional server side encryption.- Returns:
this
-
sseSpecification
@Stability(Stable) public CfnVerifiedAccessEndpointProps.Builder sseSpecification(CfnVerifiedAccessEndpoint.SseSpecificationProperty sseSpecification) Sets the value ofCfnVerifiedAccessEndpointProps.getSseSpecification()- Parameters:
sseSpecification- The options for additional server side encryption.- 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
-