Class CreateStageRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Requests Amazon API Gateway to create a Stage resource.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariablesEntry
(String key, String value) Removes all the entries added into Variables.clone()
Creates a shallow clone of this request.boolean
Whether cache clustering is enabled for the stage.The stage's cache cluster size.The identifier of the Deployment resource for the Stage resource.The description of the Stage resource.The name for the Stage resource.A map that defines the stage variables for the new Stage resource.int
hashCode()
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
setRestApiId
(String restApiId) 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.toString()
Returns a string representation of this object; useful for testing and debugging.withCacheClusterEnabled
(Boolean cacheClusterEnabled) Whether cache clustering is enabled for the stage.withCacheClusterSize
(String cacheClusterSize) The stage's cache cluster size.withDeploymentId
(String deploymentId) The identifier of the Deployment resource for the Stage resource.withDescription
(String description) The description of the Stage resource.withRestApiId
(String restApiId) withStageName
(String stageName) The name for the Stage resource.withVariables
(Map<String, String> variables) A map that defines the stage variables for the new Stage resource.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateStageRequest
public CreateStageRequest()
-
-
Method Details
-
setRestApiId
-
getRestApiId
-
withRestApiId
-
setStageName
The name for the Stage resource.
- Parameters:
stageName
- The name for the Stage resource.
-
getStageName
The name for the Stage resource.
- Returns:
- The name for the Stage resource.
-
withStageName
The name for the Stage resource.
- Parameters:
stageName
- The name for the Stage resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeploymentId
The identifier of the Deployment resource for the Stage resource.
- Parameters:
deploymentId
- The identifier of the Deployment resource for the Stage resource.
-
getDeploymentId
The identifier of the Deployment resource for the Stage resource.
- Returns:
- The identifier of the Deployment resource for the Stage resource.
-
withDeploymentId
The identifier of the Deployment resource for the Stage resource.
- Parameters:
deploymentId
- The identifier of the Deployment resource for the Stage resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the Stage resource.
- Parameters:
description
- The description of the Stage resource.
-
getDescription
The description of the Stage resource.
- Returns:
- The description of the Stage resource.
-
withDescription
The description of the Stage resource.
- Parameters:
description
- The description of the Stage resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCacheClusterEnabled
Whether cache clustering is enabled for the stage.
- Parameters:
cacheClusterEnabled
- Whether cache clustering is enabled for the stage.
-
getCacheClusterEnabled
Whether cache clustering is enabled for the stage.
- Returns:
- Whether cache clustering is enabled for the stage.
-
withCacheClusterEnabled
Whether cache clustering is enabled for the stage.
- Parameters:
cacheClusterEnabled
- Whether cache clustering is enabled for the stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCacheClusterEnabled
Whether cache clustering is enabled for the stage.
- Returns:
- Whether cache clustering is enabled for the stage.
-
setCacheClusterSize
The stage's cache cluster size.
- Parameters:
cacheClusterSize
- The stage's cache cluster size.
-
getCacheClusterSize
The stage's cache cluster size.
- Returns:
- The stage's cache cluster size.
-
withCacheClusterSize
The stage's cache cluster size.
- Parameters:
cacheClusterSize
- The stage's cache cluster size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getVariables
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.- Returns:
- A map that defines the stage variables for the new Stage
resource. Variable names can have alphanumeric characters, and
the values must match
[A-Za-z0-9-._~:/?#&=,]+
.
-
setVariables
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.- Parameters:
variables
- A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric characters, and the values must match[A-Za-z0-9-._~:/?#&=,]+
.
-
withVariables
A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.- Parameters:
variables
- A map that defines the stage variables for the new Stage resource. Variable names can have alphanumeric characters, and the values must match[A-Za-z0-9-._~:/?#&=,]+
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addVariablesEntry
-
clearVariablesEntries
Removes all the entries added into Variables. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-