@Generated(value="software.amazon.awssdk:codegen") public final class CreateBasePathMappingRequest extends ApiGatewayRequest implements ToCopyableBuilder<CreateBasePathMappingRequest.Builder,CreateBasePathMappingRequest>
Requests API Gateway to create a new BasePathMapping resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBasePathMappingRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
basePath()
The base path name that callers of the API must provide as part of the URL after the domain name.
|
static CreateBasePathMappingRequest.Builder |
builder() |
String |
domainName()
The domain name of the BasePathMapping resource to create.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
restApiId()
The string identifier of the associated RestApi.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBasePathMappingRequest.Builder> |
serializableBuilderClass() |
String |
stage()
The name of the API's stage that you want to use for this mapping.
|
CreateBasePathMappingRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
The domain name of the BasePathMapping resource to create.
public final String basePath()
The base path name that callers of the API must provide as part of the URL after the domain name. This value must be unique for all of the mappings across a single API. Specify '(none)' if you do not want callers to specify a base path name after the domain name.
public final String restApiId()
The string identifier of the associated RestApi.
public final String stage()
The name of the API's stage that you want to use for this mapping. Specify '(none)' if you want callers to explicitly specify the stage name after any base path name.
public CreateBasePathMappingRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBasePathMappingRequest.Builder,CreateBasePathMappingRequest>toBuilder in class ApiGatewayRequestpublic static CreateBasePathMappingRequest.Builder builder()
public static Class<? extends CreateBasePathMappingRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.