@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
The app ID.
|
DeploymentCommand |
getCommand()
A
DeploymentCommand object that specifies the deployment command and any associated arguments. |
String |
getComment()
A user-defined comment.
|
String |
getCustomJson()
A string that contains user-defined, custom JSON.
|
List<String> |
getInstanceIds()
The instance IDs for the deployment targets.
|
List<String> |
getLayerIds()
The layer IDs for the deployment targets.
|
String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setAppId(String appId)
The app ID.
|
void |
setCommand(DeploymentCommand command)
A
DeploymentCommand 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateDeploymentRequest |
withAppId(String appId)
The app ID.
|
CreateDeploymentRequest |
withCommand(DeploymentCommand command)
A
DeploymentCommand object that specifies the deployment command and any associated arguments. |
CreateDeploymentRequest |
withComment(String comment)
A user-defined comment.
|
CreateDeploymentRequest |
withCustomJson(String customJson)
A string that contains user-defined, custom JSON.
|
CreateDeploymentRequest |
withInstanceIds(Collection<String> instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest |
withInstanceIds(String... instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest |
withLayerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
|
CreateDeploymentRequest |
withLayerIds(String... layerIds)
The layer IDs for the deployment targets.
|
CreateDeploymentRequest |
withStackId(String stackId)
The stack ID.
|
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 setStackId(String stackId)
The stack ID.
stackId
- The stack ID.public String getStackId()
The stack ID.
public CreateDeploymentRequest withStackId(String stackId)
The stack ID.
stackId
- The stack ID.public void setAppId(String appId)
The app ID. This parameter is required for app deployments, but not for other deployment commands.
appId
- The app ID. This parameter is required for app deployments, but not for other deployment commands.public String getAppId()
The app ID. This parameter is required for app deployments, but not for other deployment commands.
public CreateDeploymentRequest withAppId(String appId)
The app ID. This parameter is required for app deployments, but not for other deployment commands.
appId
- The app ID. This parameter is required for app deployments, but not for other deployment commands.public List<String> getInstanceIds()
The instance IDs for the deployment targets.
public void setInstanceIds(Collection<String> instanceIds)
The instance IDs for the deployment targets.
instanceIds
- The instance IDs for the deployment targets.public CreateDeploymentRequest withInstanceIds(String... instanceIds)
The instance IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceIds(java.util.Collection)
or withInstanceIds(java.util.Collection)
if you want to
override the existing values.
instanceIds
- The instance IDs for the deployment targets.public CreateDeploymentRequest withInstanceIds(Collection<String> instanceIds)
The instance IDs for the deployment targets.
instanceIds
- The instance IDs for the deployment targets.public List<String> getLayerIds()
The layer IDs for the deployment targets.
public void setLayerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
layerIds
- The layer IDs for the deployment targets.public CreateDeploymentRequest withLayerIds(String... layerIds)
The layer IDs for the deployment targets.
NOTE: This method appends the values to the existing list (if any). Use
setLayerIds(java.util.Collection)
or withLayerIds(java.util.Collection)
if you want to override
the existing values.
layerIds
- The layer IDs for the deployment targets.public CreateDeploymentRequest withLayerIds(Collection<String> layerIds)
The layer IDs for the deployment targets.
layerIds
- The layer IDs for the deployment targets.public void setCommand(DeploymentCommand command)
A DeploymentCommand
object that specifies the deployment command and any associated arguments.
command
- A DeploymentCommand
object that specifies the deployment command and any associated
arguments.public DeploymentCommand getCommand()
A DeploymentCommand
object that specifies the deployment command and any associated arguments.
DeploymentCommand
object that specifies the deployment command and any associated
arguments.public CreateDeploymentRequest withCommand(DeploymentCommand command)
A DeploymentCommand
object that specifies the deployment command and any associated arguments.
command
- A DeploymentCommand
object that specifies the deployment command and any associated
arguments.public void setComment(String comment)
A user-defined comment.
comment
- A user-defined comment.public String getComment()
A user-defined comment.
public CreateDeploymentRequest withComment(String comment)
A user-defined comment.
comment
- A user-defined comment.public void setCustomJson(String 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:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
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:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public String 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:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
public CreateDeploymentRequest withCustomJson(String 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:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
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:
"{\"key1\": \"value1\", \"key2\": \"value2\",...}"
For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.
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.