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