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 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.booleanWhether 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.inthashCode()Whether cache clustering is enabled for the stage.voidsetCacheClusterEnabled(Boolean cacheClusterEnabled) Whether cache clustering is enabled for the stage.voidsetCacheClusterSize(String cacheClusterSize) The stage's cache cluster size.voidsetDeploymentId(String deploymentId) The identifier of the Deployment resource for the Stage resource.voidsetDescription(String description) The description of the Stage resource.voidsetRestApiId(String restApiId) voidsetStageName(String stageName) The name for the Stage resource.voidsetVariables(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 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
-
getStageName
-
withStageName
-
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
-
getDescription
-
withDescription
-
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
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-