Class CfnApiMapping.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.CfnApiMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiMapping>
- Enclosing class:
- CfnApiMapping
@Stability(Stable)
public static final class CfnApiMapping.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiMapping>
A fluent builder for
CfnApiMapping.-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the API.apiMappingKey(String apiMappingKey) The API mapping key.build()static CfnApiMapping.BuilderdomainName(String domainName) The domain name.The API stage.
-
Method Details
-
create
- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
- Returns:
- a new instance of
CfnApiMapping.Builder.
-
apiId
The identifier of the API.- Parameters:
apiId- The identifier of the API. This parameter is required.- Returns:
this
-
domainName
The domain name.- Parameters:
domainName- The domain name. This parameter is required.- Returns:
this
-
stage
The API stage.- Parameters:
stage- The API stage. This parameter is required.- Returns:
this
-
apiMappingKey
The API mapping key.- Parameters:
apiMappingKey- The API mapping key. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiMapping>- Returns:
- a newly built instance of
CfnApiMapping.
-