Class CfnDomainNameAccessAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigateway.CfnDomainNameAccessAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainNameAccessAssociationProps>
- Enclosing interface:
CfnDomainNameAccessAssociationProps
@Stability(Stable)
public static final class CfnDomainNameAccessAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomainNameAccessAssociationProps>
A builder for
CfnDomainNameAccessAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessAssociationSource(String accessAssociationSource) Sets the value ofCfnDomainNameAccessAssociationProps.getAccessAssociationSource()accessAssociationSourceType(String accessAssociationSourceType) Sets the value ofCfnDomainNameAccessAssociationProps.getAccessAssociationSourceType()build()Builds the configured instance.domainNameArn(String domainNameArn) Sets the value ofCfnDomainNameAccessAssociationProps.getDomainNameArn()Sets the value ofCfnDomainNameAccessAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessAssociationSource
@Stability(Stable) public CfnDomainNameAccessAssociationProps.Builder accessAssociationSource(String accessAssociationSource) Sets the value ofCfnDomainNameAccessAssociationProps.getAccessAssociationSource()- Parameters:
accessAssociationSource- The identifier of the domain name access association source. This parameter is required. For aVPCE, the value is the VPC endpoint ID.- Returns:
this
-
accessAssociationSourceType
@Stability(Stable) public CfnDomainNameAccessAssociationProps.Builder accessAssociationSourceType(String accessAssociationSourceType) Sets the value ofCfnDomainNameAccessAssociationProps.getAccessAssociationSourceType()- Parameters:
accessAssociationSourceType- The type of the domain name access association source. This parameter is required. OnlyVPCEis currently supported.- Returns:
this
-
domainNameArn
@Stability(Stable) public CfnDomainNameAccessAssociationProps.Builder domainNameArn(String domainNameArn) Sets the value ofCfnDomainNameAccessAssociationProps.getDomainNameArn()- Parameters:
domainNameArn- The ARN of the domain name. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public CfnDomainNameAccessAssociationProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnDomainNameAccessAssociationProps.getTags()- Parameters:
tags- The collection of tags. Each tag element is associated with a given resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainNameAccessAssociationProps>- Returns:
- a new instance of
CfnDomainNameAccessAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-