public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to create a Deployment resource.
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
addVariablesEntry(String key,
String value) |
CreateDeploymentRequest |
clearVariablesEntries()
Removes all the entries added into Variables.
|
CreateDeploymentRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the
input.
|
String |
getCacheClusterSize()
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
String |
getDescription()
The description for the Deployment resource to create.
|
String |
getRestApiId()
The RestApi resource identifier for the Deployment resource
to create.
|
String |
getStageDescription()
The description of the Stage resource for the Deployment
resource to create.
|
String |
getStageName()
The name of the Stage resource for the Deployment resource
to create.
|
Map<String,String> |
getVariables()
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
int |
hashCode() |
Boolean |
isCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the
input.
|
void |
setCacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the
input.
|
void |
setCacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
void |
setDescription(String description)
The description for the Deployment resource to create.
|
void |
setRestApiId(String restApiId)
The RestApi resource identifier for the Deployment resource
to create.
|
void |
setStageDescription(String stageDescription)
The description of the Stage resource for the Deployment
resource to create.
|
void |
setStageName(String stageName)
The name of the Stage resource for the Deployment resource
to create.
|
void |
setVariables(Map<String,String> variables)
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withCacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the
input.
|
CreateDeploymentRequest |
withCacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
CreateDeploymentRequest |
withDescription(String description)
The description for the Deployment resource to create.
|
CreateDeploymentRequest |
withRestApiId(String restApiId)
The RestApi resource identifier for the Deployment resource
to create.
|
CreateDeploymentRequest |
withStageDescription(String stageDescription)
The description of the Stage resource for the Deployment
resource to create.
|
CreateDeploymentRequest |
withStageName(String stageName)
The name of the Stage resource for the Deployment resource
to create.
|
CreateDeploymentRequest |
withVariables(Map<String,String> variables)
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setRestApiId(String restApiId)
The RestApi resource identifier for the Deployment resource to create.
restApiId
- The RestApi resource identifier for the Deployment
resource to create.public String getRestApiId()
The RestApi resource identifier for the Deployment resource to create.
public CreateDeploymentRequest withRestApiId(String restApiId)
The RestApi resource identifier for the Deployment resource to create.
restApiId
- The RestApi resource identifier for the Deployment
resource to create.public void setStageName(String stageName)
The name of the Stage resource for the Deployment resource to create.
stageName
- The name of the Stage resource for the Deployment
resource to create.public String getStageName()
The name of the Stage resource for the Deployment resource to create.
public CreateDeploymentRequest withStageName(String stageName)
The name of the Stage resource for the Deployment resource to create.
stageName
- The name of the Stage resource for the Deployment
resource to create.public void setStageDescription(String stageDescription)
The description of the Stage resource for the Deployment resource to create.
stageDescription
- The description of the Stage resource for the
Deployment resource to create.public String getStageDescription()
The description of the Stage resource for the Deployment resource to create.
public CreateDeploymentRequest withStageDescription(String stageDescription)
The description of the Stage resource for the Deployment resource to create.
stageDescription
- The description of the Stage resource for the
Deployment resource to create.public void setDescription(String description)
The description for the Deployment resource to create.
description
- The description for the Deployment resource to create.public String getDescription()
The description for the Deployment resource to create.
public CreateDeploymentRequest withDescription(String description)
The description for the Deployment resource to create.
description
- The description for the Deployment resource to create.public void setCacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the input.
cacheClusterEnabled
- Enables a cache cluster for the Stage resource specified in
the input.public Boolean getCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
public CreateDeploymentRequest withCacheClusterEnabled(Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the input.
cacheClusterEnabled
- Enables a cache cluster for the Stage resource specified in
the input.public Boolean isCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
public void setCacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
cacheClusterSize
- Specifies the cache cluster size for the Stage resource
specified in the input, if a cache cluster is enabled.public String getCacheClusterSize()
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
public CreateDeploymentRequest withCacheClusterSize(String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
cacheClusterSize
- Specifies the cache cluster size for the Stage resource
specified in the input, if a cache cluster is enabled.public Map<String,String> getVariables()
A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphabetic characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
public void setVariables(Map<String,String> variables)
A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphabetic characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
variables
- A map that defines the stage variables for the Stage
resource that is associated with the new deployment. Variable
names can have alphabetic characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+public CreateDeploymentRequest withVariables(Map<String,String> variables)
A map that defines the stage variables for the Stage resource that is associated with the new deployment. Variable names can have alphabetic characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+
variables
- A map that defines the stage variables for the Stage
resource that is associated with the new deployment. Variable
names can have alphabetic characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+public CreateDeploymentRequest addVariablesEntry(String key, String value)
public CreateDeploymentRequest clearVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.