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