@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 string identifier of the associated RestApi.
|
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 string identifier of the associated RestApi.
|
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 string identifier of the associated RestApi.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public CreateDeploymentRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.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 alphanumeric and underscore 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 Stage resource that is associated with the new deployment.
Variable names can have alphanumeric and underscore 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 and underscore 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 alphanumeric and underscore 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 and underscore 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.