|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.opsworks.model.CreateDeploymentRequest
public class CreateDeploymentRequest
Container for the parameters to the 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.
AWSOpsWorks.createDeployment(CreateDeploymentRequest)
Constructor Summary | |
---|---|
CreateDeploymentRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAppId()
The app ID, for app deployments. |
DeploymentCommand |
getCommand()
A DeploymentCommand object that describes details of the
operation. |
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, for app deployments. |
void |
setCommand(DeploymentCommand command)
A DeploymentCommand object that describes details of the
operation. |
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, for app deployments. |
CreateDeploymentRequest |
withCommand(DeploymentCommand command)
A DeploymentCommand object that describes details of the
operation. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDeploymentRequest()
Method Detail |
---|
public 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, for app deployments.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, for app deployments.
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 describes details of the
operation.
DeploymentCommand
object that describes details of the
operation.public void setCommand(DeploymentCommand command)
DeploymentCommand
object that describes details of the
operation.
command
- A DeploymentCommand
object that describes details of the
operation.public CreateDeploymentRequest withCommand(DeploymentCommand command)
DeploymentCommand
object that describes details of the
operation.
Returns a reference to this object so that method calls can be chained together.
command
- A DeploymentCommand
object that describes details of the
operation.
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\",...}"
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}"
public void setCustomJson(java.lang.String customJson)
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}"
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\",...}"
public CreateDeploymentRequest withCustomJson(java.lang.String customJson)
"{\"key1\": \"value1\", \"key2\":
\"value2\",...}"
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\",...}"
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |