Class ApiMappingProps.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.alpha.ApiMappingProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiMappingProps>
- Enclosing interface:
ApiMappingProps
@Stability(Deprecated)
@Deprecated
public static final class ApiMappingProps.Builder
extends Object
implements software.amazon.jsii.Builder<ApiMappingProps>
Deprecated.
A builder for
ApiMappingProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.apiMappingKey
(String apiMappingKey) Deprecated.build()
Deprecated.domainName
(IDomainName domainName) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
api
Deprecated.Sets the value ofApiMappingProps.getApi()
- Parameters:
api
- The Api to which this mapping is applied. This parameter is required.- Returns:
this
-
domainName
@Stability(Deprecated) @Deprecated public ApiMappingProps.Builder domainName(IDomainName domainName) Deprecated.Sets the value ofApiMappingProps.getDomainName()
- Parameters:
domainName
- custom domain name of the mapping target. This parameter is required.- Returns:
this
-
apiMappingKey
@Stability(Deprecated) @Deprecated public ApiMappingProps.Builder apiMappingKey(String apiMappingKey) Deprecated.Sets the value ofApiMappingProps.getApiMappingKey()
- Parameters:
apiMappingKey
- Api mapping key. The path where this stage should be mapped to on the domain- Returns:
this
-
stage
Deprecated.Sets the value ofApiMappingProps.getStage()
- Parameters:
stage
- stage for the ApiMapping resource required for WebSocket API defaults to default stage of an HTTP API.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ApiMappingProps>
- Returns:
- a new instance of
ApiMappingProps
- Throws:
NullPointerException
- if any required attribute was not provided
-