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() |
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 name of the API that you want to apply this mapping to.
|
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 name of the API that you want to apply this mapping to.
|
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 name of the API that you want to apply this mapping to.
|
CreateBasePathMappingRequest |
withStage(String stage)
The name of the API's stage that you want to use for this mapping.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 name of the API that you want to apply this mapping to.
restApiId
- The name of the API that you want to apply this mapping to.public String getRestApiId()
The name of the API that you want to apply this mapping to.
public CreateBasePathMappingRequest withRestApiId(String restApiId)
The name of the API that you want to apply this mapping to.
restApiId
- The name of the API that you want to apply this mapping to.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()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.