|
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.services.opsworks.model.Deployment
public class Deployment
Describes a deployment of a stack or app.
Constructor Summary | |
---|---|
Deployment()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAppId()
The app ID. |
DeploymentCommand |
getCommand()
Used to specify a deployment operation. |
java.lang.String |
getComment()
A user-defined comment. |
java.lang.String |
getCompletedAt()
Date when the deployment completed. |
java.lang.String |
getCreatedAt()
Date when the deployment was created. |
java.lang.String |
getCustomJson()
A string that contains user-defined custom JSON. |
java.lang.String |
getDeploymentId()
The deployment ID. |
java.lang.Integer |
getDuration()
The deployment duration. |
java.lang.String |
getIamUserArn()
The user's IAM ARN. |
java.util.List<java.lang.String> |
getInstanceIds()
The IDs of the target instances. |
java.lang.String |
getStackId()
The stack ID. |
java.lang.String |
getStatus()
The deployment status: running successful failed |
int |
hashCode()
|
void |
setAppId(java.lang.String appId)
The app ID. |
void |
setCommand(DeploymentCommand command)
Used to specify a deployment operation. |
void |
setComment(java.lang.String comment)
A user-defined comment. |
void |
setCompletedAt(java.lang.String completedAt)
Date when the deployment completed. |
void |
setCreatedAt(java.lang.String createdAt)
Date when the deployment was created. |
void |
setCustomJson(java.lang.String customJson)
A string that contains user-defined custom JSON. |
void |
setDeploymentId(java.lang.String deploymentId)
The deployment ID. |
void |
setDuration(java.lang.Integer duration)
The deployment duration. |
void |
setIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN. |
void |
setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The IDs of the target instances. |
void |
setStackId(java.lang.String stackId)
The stack ID. |
void |
setStatus(java.lang.String status)
The deployment status: running successful failed |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Deployment |
withAppId(java.lang.String appId)
The app ID. |
Deployment |
withCommand(DeploymentCommand command)
Used to specify a deployment operation. |
Deployment |
withComment(java.lang.String comment)
A user-defined comment. |
Deployment |
withCompletedAt(java.lang.String completedAt)
Date when the deployment completed. |
Deployment |
withCreatedAt(java.lang.String createdAt)
Date when the deployment was created. |
Deployment |
withCustomJson(java.lang.String customJson)
A string that contains user-defined custom JSON. |
Deployment |
withDeploymentId(java.lang.String deploymentId)
The deployment ID. |
Deployment |
withDuration(java.lang.Integer duration)
The deployment duration. |
Deployment |
withIamUserArn(java.lang.String iamUserArn)
The user's IAM ARN. |
Deployment |
withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
The IDs of the target instances. |
Deployment |
withInstanceIds(java.lang.String... instanceIds)
The IDs of the target instances. |
Deployment |
withStackId(java.lang.String stackId)
The stack ID. |
Deployment |
withStatus(java.lang.String status)
The deployment status: running successful failed |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Deployment()
Method Detail |
---|
public java.lang.String getDeploymentId()
public void setDeploymentId(java.lang.String deploymentId)
deploymentId
- The deployment ID.public Deployment withDeploymentId(java.lang.String deploymentId)
Returns a reference to this object so that method calls can be chained together.
deploymentId
- The deployment ID.
public java.lang.String getStackId()
public void setStackId(java.lang.String stackId)
stackId
- The stack ID.public Deployment 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.public Deployment withAppId(java.lang.String appId)
Returns a reference to this object so that method calls can be chained together.
appId
- The app ID.
public java.lang.String getCreatedAt()
public void setCreatedAt(java.lang.String createdAt)
createdAt
- Date when the deployment was created.public Deployment withCreatedAt(java.lang.String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- Date when the deployment was created.
public java.lang.String getCompletedAt()
public void setCompletedAt(java.lang.String completedAt)
completedAt
- Date when the deployment completed.public Deployment withCompletedAt(java.lang.String completedAt)
Returns a reference to this object so that method calls can be chained together.
completedAt
- Date when the deployment completed.
public java.lang.Integer getDuration()
public void setDuration(java.lang.Integer duration)
duration
- The deployment duration.public Deployment withDuration(java.lang.Integer duration)
Returns a reference to this object so that method calls can be chained together.
duration
- The deployment duration.
public java.lang.String getIamUserArn()
public void setIamUserArn(java.lang.String iamUserArn)
iamUserArn
- The user's IAM ARN.public Deployment withIamUserArn(java.lang.String iamUserArn)
Returns a reference to this object so that method calls can be chained together.
iamUserArn
- The user's IAM ARN.
public java.lang.String getComment()
public void setComment(java.lang.String comment)
comment
- A user-defined comment.public Deployment 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 DeploymentCommand getCommand()
public void setCommand(DeploymentCommand command)
command
- Used to specify a deployment operation.public Deployment withCommand(DeploymentCommand command)
Returns a reference to this object so that method calls can be chained together.
command
- Used to specify a deployment operation.
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The deployment status: public Deployment withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status
- The deployment status: 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 for
stack. The string should be in the following format and must escape
characters such as '"'.: "{\"key1\": \"value1\", \"key2\":
\"value2\",...}"
public Deployment 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 for
stack. The string should be in the following format and must escape
characters such as '"'.: "{\"key1\": \"value1\", \"key2\":
\"value2\",...}"
public java.util.List<java.lang.String> getInstanceIds()
public void setInstanceIds(java.util.Collection<java.lang.String> instanceIds)
instanceIds
- The IDs of the target instances.public Deployment withInstanceIds(java.lang.String... instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- The IDs of the target instances.
public Deployment withInstanceIds(java.util.Collection<java.lang.String> instanceIds)
Returns a reference to this object so that method calls can be chained together.
instanceIds
- The IDs of the target instances.
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 |