public class CreateDeploymentRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Requests Amazon API Gateway to create a Deployment resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
cacheClusterEnabled
Enables a cache cluster for the Stage resource specified in the
input.
|
private java.lang.String |
cacheClusterSize
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
private java.lang.String |
description
The description for the Deployment resource to create.
|
private java.lang.String |
restApiId
The RestApi resource identifier for the Deployment resource
to create.
|
private java.lang.String |
stageDescription
The description of the Stage resource for the Deployment
resource to create.
|
private java.lang.String |
stageName
The name of the Stage resource for the Deployment resource
to create.
|
private java.util.Map<java.lang.String,java.lang.String> |
variables
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
addVariablesEntry(java.lang.String key,
java.lang.String value) |
CreateDeploymentRequest |
clearVariablesEntries()
Removes all the entries added into Variables.
|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the
input.
|
java.lang.String |
getCacheClusterSize()
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
java.lang.String |
getDescription()
The description for the Deployment resource to create.
|
java.lang.String |
getRestApiId()
The RestApi resource identifier for the Deployment resource
to create.
|
java.lang.String |
getStageDescription()
The description of the Stage resource for the Deployment
resource to create.
|
java.lang.String |
getStageName()
The name of the Stage resource for the Deployment resource
to create.
|
java.util.Map<java.lang.String,java.lang.String> |
getVariables()
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
int |
hashCode() |
java.lang.Boolean |
isCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the
input.
|
void |
setCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the
input.
|
void |
setCacheClusterSize(java.lang.String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
void |
setDescription(java.lang.String description)
The description for the Deployment resource to create.
|
void |
setRestApiId(java.lang.String restApiId)
The RestApi resource identifier for the Deployment resource
to create.
|
void |
setStageDescription(java.lang.String stageDescription)
The description of the Stage resource for the Deployment
resource to create.
|
void |
setStageName(java.lang.String stageName)
The name of the Stage resource for the Deployment resource
to create.
|
void |
setVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for the Stage resource that
is associated with the new deployment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withCacheClusterEnabled(java.lang.Boolean cacheClusterEnabled)
Enables a cache cluster for the Stage resource specified in the
input.
|
CreateDeploymentRequest |
withCacheClusterSize(java.lang.String cacheClusterSize)
Specifies the cache cluster size for the Stage resource specified
in the input, if a cache cluster is enabled.
|
CreateDeploymentRequest |
withDescription(java.lang.String description)
The description for the Deployment resource to create.
|
CreateDeploymentRequest |
withRestApiId(java.lang.String restApiId)
The RestApi resource identifier for the Deployment resource
to create.
|
CreateDeploymentRequest |
withStageDescription(java.lang.String stageDescription)
The description of the Stage resource for the Deployment
resource to create.
|
CreateDeploymentRequest |
withStageName(java.lang.String stageName)
The name of the Stage resource for the Deployment resource
to create.
|
CreateDeploymentRequest |
withVariables(java.util.Map<java.lang.String,java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String restApiId
The RestApi resource identifier for the Deployment resource to create.
private java.lang.String stageName
The name of the Stage resource for the Deployment resource to create.
private java.lang.String stageDescription
The description of the Stage resource for the Deployment resource to create.
private java.lang.String description
The description for the Deployment resource to create.
private java.lang.Boolean cacheClusterEnabled
Enables a cache cluster for the Stage resource specified in the input.
private java.lang.String cacheClusterSize
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
private java.util.Map<java.lang.String,java.lang.String> variables
A map that defines the stage variables for the Stage resource that
is associated with the new deployment. Variable names can have
alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.
public void setRestApiId(java.lang.String restApiId)
The RestApi resource identifier for the Deployment resource to create.
restApiId
- The RestApi resource identifier for the Deployment
resource to create.public java.lang.String getRestApiId()
The RestApi resource identifier for the Deployment resource to create.
public CreateDeploymentRequest withRestApiId(java.lang.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(java.lang.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 java.lang.String getStageName()
The name of the Stage resource for the Deployment resource to create.
public CreateDeploymentRequest withStageName(java.lang.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(java.lang.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 java.lang.String getStageDescription()
The description of the Stage resource for the Deployment resource to create.
public CreateDeploymentRequest withStageDescription(java.lang.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(java.lang.String description)
The description for the Deployment resource to create.
description
- The description for the Deployment resource to create.public java.lang.String getDescription()
The description for the Deployment resource to create.
public CreateDeploymentRequest withDescription(java.lang.String description)
The description for the Deployment resource to create.
description
- The description for the Deployment resource to create.public void setCacheClusterEnabled(java.lang.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 java.lang.Boolean getCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
public CreateDeploymentRequest withCacheClusterEnabled(java.lang.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 java.lang.Boolean isCacheClusterEnabled()
Enables a cache cluster for the Stage resource specified in the input.
public void setCacheClusterSize(java.lang.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 java.lang.String getCacheClusterSize()
Specifies the cache cluster size for the Stage resource specified in the input, if a cache cluster is enabled.
public CreateDeploymentRequest withCacheClusterSize(java.lang.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 java.util.Map<java.lang.String,java.lang.String> getVariables()
A map that defines the stage variables for the Stage resource that
is associated with the new deployment. Variable names can have
alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.
[A-Za-z0-9-._~:/?#&=,]+
.public void setVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for the Stage resource that
is associated with the new deployment. 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 Stage
resource that is associated with the new deployment. Variable
names can have alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.public CreateDeploymentRequest withVariables(java.util.Map<java.lang.String,java.lang.String> variables)
A map that defines the stage variables for the Stage resource that
is associated with the new deployment. 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 Stage
resource that is associated with the new deployment. Variable
names can have alphanumeric characters, and the values must match
[A-Za-z0-9-._~:/?#&=,]+
.public CreateDeploymentRequest addVariablesEntry(java.lang.String key, java.lang.String value)
public CreateDeploymentRequest clearVariablesEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()