public class CreateDeploymentRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateDeployment operation.
Deploys a stack or app.
deploy event, which runs the associated recipes and passes them a JSON stack configuration object that
includes information about the app. deploy recipes but does not raise an event.For more information, see Deploying Apps and Run Stack Commands .
| コンストラクタと説明 |
|---|
CreateDeploymentRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAppId()
The app ID.
|
DeploymentCommand |
getCommand()
A
DeploymentCommand object that specifies the deployment
command and any associated arguments. |
java.lang.String |
getComment()
A user-defined comment.
|
java.lang.String |
getCustomJson()
A string that contains user-defined, custom JSON.
|
java.util.List<java.lang.String> |
getInstanceIds()
The instance IDs for the deployment targets.
|
java.lang.String |
getStackId()
The stack ID.
|
int |
hashCode() |
void |
setAppId(java.lang.String appId)
The app ID.
|
void |
setCommand(DeploymentCommand command)
A
DeploymentCommand object that specifies the deployment
command and any associated arguments. |
void |
setComment(java.lang.String comment)
A user-defined comment.
|
void |
setCustomJson(java.lang.String customJson)
A string that contains user-defined, custom JSON.
|
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The instance IDs for the deployment targets.
|
void |
setStackId(java.lang.String stackId)
The stack ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDeploymentRequest |
withAppId(java.lang.String appId)
The app ID.
|
CreateDeploymentRequest |
withCommand(DeploymentCommand command)
A
DeploymentCommand object that specifies the deployment
command and any associated arguments. |
CreateDeploymentRequest |
withComment(java.lang.String comment)
A user-defined comment.
|
CreateDeploymentRequest |
withCustomJson(java.lang.String customJson)
A string that contains user-defined, custom JSON.
|
CreateDeploymentRequest |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest |
withInstanceIds(java.lang.String... instanceIds)
The instance IDs for the deployment targets.
|
CreateDeploymentRequest |
withStackId(java.lang.String stackId)
The stack ID.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId - The stack ID.public CreateDeploymentRequest withStackId(java.lang.String stackId)
Returns a reference to this object so that method calls can be chained together.
stackId - The stack ID.public java.lang.String getAppId()
public void setAppId(java.lang.String appId)
appId - The app ID. This parameter is required for app deployments, but not
for other deployment commands.public CreateDeploymentRequest withAppId(java.lang.String appId)
Returns a reference to this object so that method calls can be chained together.
appId - The app ID. This parameter is required for app deployments, but not
for other deployment commands.public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds - The instance IDs for the deployment targets.public CreateDeploymentRequest withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - The instance IDs for the deployment targets.public CreateDeploymentRequest withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds - The instance IDs for the deployment targets.public DeploymentCommand getCommand()
DeploymentCommand object that specifies the deployment
command and any associated arguments.DeploymentCommand object that specifies the deployment
command and any associated arguments.public void setCommand(DeploymentCommand command)
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 CreateDeploymentRequest withCommand(DeploymentCommand command)
DeploymentCommand object that specifies the deployment
command and any associated arguments.
Returns a reference to this object so that method calls can be chained together.
command - A DeploymentCommand object that specifies the deployment
command and any associated arguments.public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment - A user-defined comment.public CreateDeploymentRequest withComment(java.lang.String comment)
Returns a reference to this object so that method calls can be chained together.
comment - A user-defined comment.public java.lang.String getCustomJson()
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.
public void setCustomJson(java.lang.String customJson)
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.
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 JSON.
public CreateDeploymentRequest withCustomJson(java.lang.String customJson)
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}" For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration JSON.
Returns a reference to this object so that method calls can be chained together.
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 JSON.
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object