Class CfnApiMappingMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apigatewayv2.CfnApiMappingMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiMappingMixinProps>
- Enclosing interface:
CfnApiMappingMixinProps
@Stability(Stable)
public static final class CfnApiMappingMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiMappingMixinProps>
A builder for
CfnApiMappingMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnApiMappingMixinProps.getApiId()apiId(IRestApiRef apiId) Sets the value ofCfnApiMappingMixinProps.getApiId()Sets the value ofCfnApiMappingMixinProps.getApiId()apiMappingKey(String apiMappingKey) Sets the value ofCfnApiMappingMixinProps.getApiMappingKey()build()Builds the configured instance.domainName(String domainName) Sets the value ofCfnApiMappingMixinProps.getDomainName()domainName(IDomainNameRef domainName) Sets the value ofCfnApiMappingMixinProps.getDomainName()domainName(IDomainNameRef domainName) Sets the value ofCfnApiMappingMixinProps.getDomainName()Sets the value ofCfnApiMappingMixinProps.getStage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiId
Sets the value ofCfnApiMappingMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
apiId
Sets the value ofCfnApiMappingMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
apiId
Sets the value ofCfnApiMappingMixinProps.getApiId()- Parameters:
apiId- The API identifier.- Returns:
this
-
apiMappingKey
Sets the value ofCfnApiMappingMixinProps.getApiMappingKey()- Parameters:
apiMappingKey- The API mapping key.- Returns:
this
-
domainName
Sets the value ofCfnApiMappingMixinProps.getDomainName()- Parameters:
domainName- The domain name.- Returns:
this
-
domainName
Sets the value ofCfnApiMappingMixinProps.getDomainName()- Parameters:
domainName- The domain name.- Returns:
this
-
domainName
Sets the value ofCfnApiMappingMixinProps.getDomainName()- Parameters:
domainName- The domain name.- Returns:
this
-
stage
Sets the value ofCfnApiMappingMixinProps.getStage()- Parameters:
stage- The API stage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiMappingMixinProps>- Returns:
- a new instance of
CfnApiMappingMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-