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 request.
|
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 |
getRestApiId()
|
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 |
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.
|
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 |
withRestApiId(String restApiId)
|
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.
|
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 setRestApiId(String restApiId)
public String getRestApiId()
public CreateStageRequest withRestApiId(String restApiId)
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 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 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 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 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 characters, and the
values must match [A-Za-z0-9-._~:/?#&=,]+
.public CreateStageRequest addVariablesEntry(String key, String value)
public CreateStageRequest clearVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateStageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.