@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to create a Stage resource.
NOOP
Constructor and Description |
---|
CreateStageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStageRequest |
addVariablesEntry(String key,
String value) |
CreateStageRequest |
clearVariablesEntries()
Removes all the entries added into Variables.
|
CreateStageRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getCacheClusterEnabled()
Whether cache clustering is enabled for the stage.
|
String |
getCacheClusterSize()
The stage's cache cluster size.
|
String |
getDeploymentId()
The identifier of the Deployment resource for the Stage resource.
|
String |
getDescription()
The description of the Stage resource.
|
String |
getDocumentationVersion()
The version of the associated API documentation.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
String |
getStageName()
The name for the Stage resource.
|
Map<String,String> |
getVariables()
A map that defines the stage variables for the new Stage resource.
|
int |
hashCode() |
Boolean |
isCacheClusterEnabled()
Whether cache clustering is enabled for the stage.
|
void |
setCacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
|
void |
setCacheClusterSize(String cacheClusterSize)
The stage's cache cluster size.
|
void |
setDeploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
|
void |
setDescription(String description)
The description of the Stage resource.
|
void |
setDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
void |
setStageName(String stageName)
The name for the Stage resource.
|
void |
setVariables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateStageRequest |
withCacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
|
CreateStageRequest |
withCacheClusterSize(String cacheClusterSize)
The stage's cache cluster size.
|
CreateStageRequest |
withDeploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
|
CreateStageRequest |
withDescription(String description)
The description of the Stage resource.
|
CreateStageRequest |
withDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
|
CreateStageRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
CreateStageRequest |
withStageName(String stageName)
The name for the Stage resource.
|
CreateStageRequest |
withVariables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource.
|
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 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 CreateStageRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setStageName(String stageName)
The name for the Stage resource.
stageName
- The name for the Stage resource.public String getStageName()
The name for the Stage resource.
public CreateStageRequest withStageName(String stageName)
The name for the Stage resource.
stageName
- The name for the Stage resource.public void setDeploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
deploymentId
- The identifier of the Deployment resource for the Stage resource.public String getDeploymentId()
The identifier of the Deployment resource for the Stage resource.
public CreateStageRequest withDeploymentId(String deploymentId)
The identifier of the Deployment resource for the Stage resource.
deploymentId
- The identifier of the Deployment resource for the Stage resource.public void setDescription(String description)
The description of the Stage resource.
description
- The description of the Stage resource.public String getDescription()
The description of the Stage resource.
public CreateStageRequest withDescription(String description)
The description of the Stage resource.
description
- The description of the Stage resource.public void setCacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
cacheClusterEnabled
- Whether cache clustering is enabled for the stage.public Boolean getCacheClusterEnabled()
Whether cache clustering is enabled for the stage.
public CreateStageRequest withCacheClusterEnabled(Boolean cacheClusterEnabled)
Whether cache clustering is enabled for the stage.
cacheClusterEnabled
- Whether cache clustering is enabled for the stage.public Boolean isCacheClusterEnabled()
Whether cache clustering is enabled for the stage.
public void setCacheClusterSize(String cacheClusterSize)
The stage's cache cluster size.
cacheClusterSize
- The stage's cache cluster size.public String getCacheClusterSize()
The stage's cache cluster size.
public CreateStageRequest withCacheClusterSize(String cacheClusterSize)
The stage's cache cluster size.
cacheClusterSize
- The stage's cache cluster size.public Map<String,String> getVariables()
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric
and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
[A-Za-z0-9-._~:/?#&=,]+
.public void setVariables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric
and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
variables
- A map that defines the stage variables for the new Stage resource. Variable names can have
alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.public CreateStageRequest withVariables(Map<String,String> variables)
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric
and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.
variables
- A map that defines the stage variables for the new Stage resource. Variable names can have
alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
.public CreateStageRequest addVariablesEntry(String key, String value)
public CreateStageRequest clearVariablesEntries()
public void setDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
documentationVersion
- The version of the associated API documentation.public String getDocumentationVersion()
The version of the associated API documentation.
public CreateStageRequest withDocumentationVersion(String documentationVersion)
The version of the associated API documentation.
documentationVersion
- The version of the associated API documentation.public String toString()
toString
in class Object
Object.toString()
public CreateStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.