Class ApiMappingAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.apigatewayv2.ApiMappingAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApiMappingAttributes>
- Enclosing interface:
ApiMappingAttributes
@Stability(Stable)
public static final class ApiMappingAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ApiMappingAttributes>
A builder for
ApiMappingAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiMappingId(String apiMappingId) Sets the value ofApiMappingAttributes.getApiMappingId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiMappingId
Sets the value ofApiMappingAttributes.getApiMappingId()- Parameters:
apiMappingId- The API mapping ID. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApiMappingAttributes>- Returns:
- a new instance of
ApiMappingAttributes - Throws:
NullPointerException- if any required attribute was not provided
-