@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBasePathMappingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to create a new BasePathMapping resource.
NOOP
Constructor and Description |
---|
CreateBasePathMappingRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBasePathMappingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBasePath()
The base path name that callers of the API must provide as part of the URL after the domain name.
|
String |
getDomainName()
The domain name of the BasePathMapping resource to create.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getStage()
The name of the API's stage that you want to use for this mapping.
|
int |
hashCode() |
void |
setBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
|
void |
setDomainName(String domainName)
The domain name of the BasePathMapping resource to create.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStage(String stage)
The name of the API's stage that you want to use for this mapping.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateBasePathMappingRequest |
withBasePath(String basePath)
The base path name that callers of the API must provide as part of the URL after the domain name.
|
CreateBasePathMappingRequest |
withDomainName(String domainName)
The domain name of the BasePathMapping resource to create.
|
CreateBasePathMappingRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
CreateBasePathMappingRequest |
withStage(String stage)
The name of the API's stage that you want to use for this mapping.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomainName(String domainName)
The domain name of the BasePathMapping resource to create.
domainName
- The domain name of the BasePathMapping resource to create.public String getDomainName()
The domain name of the BasePathMapping resource to create.
public CreateBasePathMappingRequest withDomainName(String domainName)
The domain name of the BasePathMapping resource to create.
domainName
- The domain name of the BasePathMapping resource to create.public void setBasePath(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. Leave this blank if you do not want callers to specify a base path name after the domain name.
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. Leave this blank if you do not want
callers to specify a base path name after the domain name.public String getBasePath()
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. Leave this blank if you do not want callers to specify a base path name after the domain name.
public CreateBasePathMappingRequest withBasePath(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. Leave this blank if you do not want callers to specify a base path name after the domain name.
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. Leave this blank if you do not want
callers to specify a base path name after the domain name.public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public CreateBasePathMappingRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setStage(String stage)
The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.
stage
- The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want
callers to explicitly specify the stage name after any base path name.public String getStage()
The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.
public CreateBasePathMappingRequest withStage(String stage)
The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want callers to explicitly specify the stage name after any base path name.
stage
- The name of the API's stage that you want to use for this mapping. Leave this blank if you do not want
callers to explicitly specify the stage name after any base path name.public String toString()
toString
in class Object
Object.toString()
public CreateBasePathMappingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.