@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApiMappingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new ApiMapping resource to represent an API mapping.
NOOP| Constructor and Description | 
|---|
| CreateApiMappingRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateApiMappingRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getApiId()
 The API identifier. | 
| String | getApiMappingKey()The API mapping key. | 
| String | getDomainName()
 The domain name. | 
| String | getStage()
 The API stage. | 
| int | hashCode() | 
| void | setApiId(String apiId)
 The API identifier. | 
| void | setApiMappingKey(String apiMappingKey)The API mapping key. | 
| void | setDomainName(String domainName)
 The domain name. | 
| void | setStage(String stage)
 The API stage. | 
| String | toString()Returns a string representation of this object. | 
| CreateApiMappingRequest | withApiId(String apiId)
 The API identifier. | 
| CreateApiMappingRequest | withApiMappingKey(String apiMappingKey)The API mapping key. | 
| CreateApiMappingRequest | withDomainName(String domainName)
 The domain name. | 
| CreateApiMappingRequest | withStage(String stage)
 The API stage. | 
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, withSdkRequestTimeoutpublic void setApiId(String apiId)
The API identifier.
apiId - The API identifier.public String getApiId()
The API identifier.
public CreateApiMappingRequest withApiId(String apiId)
The API identifier.
apiId - The API identifier.public void setApiMappingKey(String apiMappingKey)
apiMappingKey - The API mapping key.public String getApiMappingKey()
public CreateApiMappingRequest withApiMappingKey(String apiMappingKey)
apiMappingKey - The API mapping key.public void setDomainName(String domainName)
The domain name.
domainName - The domain name.public String getDomainName()
The domain name.
public CreateApiMappingRequest withDomainName(String domainName)
The domain name.
domainName - The domain name.public void setStage(String stage)
The API stage.
stage - The API stage.public String getStage()
The API stage.
public CreateApiMappingRequest withStage(String stage)
The API stage.
stage - The API stage.public String toString()
toString in class ObjectObject.toString()public CreateApiMappingRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()