Class CreateDeploymentRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getAppId()
The app ID.ADeploymentCommand
object that specifies the deployment command and any associated arguments.A user-defined comment.A string that contains user-defined, custom JSON.The instance IDs for the deployment targets.The layer IDs for the deployment targets.The stack ID.int
hashCode()
void
The app ID.void
setCommand
(DeploymentCommand command) ADeploymentCommand
object that specifies the deployment command and any associated arguments.void
setComment
(String comment) A user-defined comment.void
setCustomJson
(String customJson) A string that contains user-defined, custom JSON.void
setInstanceIds
(Collection<String> instanceIds) The instance IDs for the deployment targets.void
setLayerIds
(Collection<String> layerIds) The layer IDs for the deployment targets.void
setStackId
(String stackId) The stack ID.toString()
Returns a string representation of this object; useful for testing and debugging.The app ID.withCommand
(DeploymentCommand command) ADeploymentCommand
object that specifies the deployment command and any associated arguments.withComment
(String comment) A user-defined comment.withCustomJson
(String customJson) A string that contains user-defined, custom JSON.withInstanceIds
(String... instanceIds) The instance IDs for the deployment targets.withInstanceIds
(Collection<String> instanceIds) The instance IDs for the deployment targets.withLayerIds
(String... layerIds) The layer IDs for the deployment targets.withLayerIds
(Collection<String> layerIds) The layer IDs for the deployment targets.withStackId
(String stackId) The stack ID.Methods inherited from class com.amazonaws.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
-
CreateDeploymentRequest
public CreateDeploymentRequest()
-
-
Method Details
-
setStackId
The stack ID.
- Parameters:
stackId
- The stack ID.
-
getStackId
The stack ID.
- Returns:
- The stack ID.
-
withStackId
The stack ID.
- Parameters:
stackId
- The stack ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAppId
The app ID. This parameter is required for app deployments, but not for other deployment commands.
- Parameters:
appId
- The app ID. This parameter is required for app deployments, but not for other deployment commands.
-
getAppId
The app ID. This parameter is required for app deployments, but not for other deployment commands.
- Returns:
- The app ID. This parameter is required for app deployments, but not for other deployment commands.
-
withAppId
The app ID. This parameter is required for app deployments, but not for other deployment commands.
- Parameters:
appId
- The app ID. This parameter is required for app deployments, but not for other deployment commands.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstanceIds
The instance IDs for the deployment targets.
- Returns:
- The instance IDs for the deployment targets.
-
setInstanceIds
The instance IDs for the deployment targets.
- Parameters:
instanceIds
- The instance IDs for the deployment targets.
-
withInstanceIds
The instance IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
orwithInstanceIds(java.util.Collection)
if you want to override the existing values.- Parameters:
instanceIds
- The instance IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceIds
The instance IDs for the deployment targets.
- Parameters:
instanceIds
- The instance IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLayerIds
The layer IDs for the deployment targets.
- Returns:
- The layer IDs for the deployment targets.
-
setLayerIds
The layer IDs for the deployment targets.
- Parameters:
layerIds
- The layer IDs for the deployment targets.
-
withLayerIds
The layer IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
setLayerIds(java.util.Collection)
orwithLayerIds(java.util.Collection)
if you want to override the existing values.- Parameters:
layerIds
- The layer IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLayerIds
The layer IDs for the deployment targets.
- Parameters:
layerIds
- The layer IDs for the deployment targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCommand
A
DeploymentCommand
object that specifies the deployment command and any associated arguments.- Parameters:
command
- ADeploymentCommand
object that specifies the deployment command and any associated arguments.
-
getCommand
A
DeploymentCommand
object that specifies the deployment command and any associated arguments.- Returns:
- A
DeploymentCommand
object that specifies the deployment command and any associated arguments.
-
withCommand
A
DeploymentCommand
object that specifies the deployment command and any associated arguments.- Parameters:
command
- ADeploymentCommand
object that specifies the deployment command and any associated arguments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComment
A user-defined comment.
- Parameters:
comment
- A user-defined comment.
-
getComment
A user-defined comment.
- Returns:
- A user-defined comment.
-
withComment
A user-defined comment.
- Parameters:
comment
- A user-defined comment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCustomJson
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
- Parameters:
customJson
- A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
-
getCustomJson
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
- Returns:
- A string that contains user-defined, custom JSON. It is used to
override the corresponding default stack configuration JSON
values. The string should be in the following format and must
escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
-
withCustomJson
A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
- Parameters:
customJson
- A string that contains user-defined, custom JSON. It is used to override the corresponding default stack configuration JSON values. The string should be in the following format and must escape characters such as '"':"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-