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 API identifier.apiMappingKey
(String apiMappingKey) The API mapping key.build()
static CfnApiMapping.Builder
domainName
(String domainName) The domain name.The API stage.
-
Method Details
-
create
@Stability(Stable) public static CfnApiMapping.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApiMapping.Builder
.
-
apiId
The API identifier.- Parameters:
apiId
- The API identifier. This parameter is required.- Returns:
this
- See Also:
-
domainName
The domain name.- Parameters:
domainName
- The domain name. This parameter is required.- Returns:
this
- See Also:
-
stage
The API stage.- Parameters:
stage
- The API stage. This parameter is required.- Returns:
this
- See Also:
-
apiMappingKey
The API mapping key.- Parameters:
apiMappingKey
- The API mapping key. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApiMapping>
- Returns:
- a newly built instance of
CfnApiMapping
.
-