|
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.Command
public class Command
Describes a command.
Constructor Summary | |
---|---|
Command()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAcknowledgedAt()
Date and time when the command was acknowledged. |
java.lang.String |
getCommandId()
The command ID. |
java.lang.String |
getCompletedAt()
Date when the command completed. |
java.lang.String |
getCreatedAt()
Date and time when the command was run. |
java.lang.String |
getDeploymentId()
The command deployment ID. |
java.lang.Integer |
getExitCode()
The command exit code. |
java.lang.String |
getInstanceId()
The ID of the instance where the command was executed. |
java.lang.String |
getLogUrl()
The URL of the command log. |
java.lang.String |
getStatus()
The command status: failed successful skipped pending |
java.lang.String |
getType()
The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes |
int |
hashCode()
|
void |
setAcknowledgedAt(java.lang.String acknowledgedAt)
Date and time when the command was acknowledged. |
void |
setCommandId(java.lang.String commandId)
The command ID. |
void |
setCompletedAt(java.lang.String completedAt)
Date when the command completed. |
void |
setCreatedAt(java.lang.String createdAt)
Date and time when the command was run. |
void |
setDeploymentId(java.lang.String deploymentId)
The command deployment ID. |
void |
setExitCode(java.lang.Integer exitCode)
The command exit code. |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance where the command was executed. |
void |
setLogUrl(java.lang.String logUrl)
The URL of the command log. |
void |
setStatus(java.lang.String status)
The command status: failed successful skipped pending |
void |
setType(java.lang.String type)
The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Command |
withAcknowledgedAt(java.lang.String acknowledgedAt)
Date and time when the command was acknowledged. |
Command |
withCommandId(java.lang.String commandId)
The command ID. |
Command |
withCompletedAt(java.lang.String completedAt)
Date when the command completed. |
Command |
withCreatedAt(java.lang.String createdAt)
Date and time when the command was run. |
Command |
withDeploymentId(java.lang.String deploymentId)
The command deployment ID. |
Command |
withExitCode(java.lang.Integer exitCode)
The command exit code. |
Command |
withInstanceId(java.lang.String instanceId)
The ID of the instance where the command was executed. |
Command |
withLogUrl(java.lang.String logUrl)
The URL of the command log. |
Command |
withStatus(java.lang.String status)
The command status: failed successful skipped pending |
Command |
withType(java.lang.String type)
The command type: deploy rollback start stop restart undeploy update_dependencies install_dependencies update_custom_cookbooks execute_recipes |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Command()
Method Detail |
---|
public java.lang.String getCommandId()
public void setCommandId(java.lang.String commandId)
commandId
- The command ID.public Command withCommandId(java.lang.String commandId)
Returns a reference to this object so that method calls can be chained together.
commandId
- The command ID.public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance where the command was executed.public Command withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance where the command was executed.public java.lang.String getDeploymentId()
public void setDeploymentId(java.lang.String deploymentId)
deploymentId
- The command deployment ID.public Command withDeploymentId(java.lang.String deploymentId)
Returns a reference to this object so that method calls can be chained together.
deploymentId
- The command deployment ID.public java.lang.String getCreatedAt()
public void setCreatedAt(java.lang.String createdAt)
createdAt
- Date and time when the command was run.public Command withCreatedAt(java.lang.String createdAt)
Returns a reference to this object so that method calls can be chained together.
createdAt
- Date and time when the command was run.public java.lang.String getAcknowledgedAt()
public void setAcknowledgedAt(java.lang.String acknowledgedAt)
acknowledgedAt
- Date and time when the command was acknowledged.public Command withAcknowledgedAt(java.lang.String acknowledgedAt)
Returns a reference to this object so that method calls can be chained together.
acknowledgedAt
- Date and time when the command was acknowledged.public java.lang.String getCompletedAt()
public void setCompletedAt(java.lang.String completedAt)
completedAt
- Date when the command completed.public Command withCompletedAt(java.lang.String completedAt)
Returns a reference to this object so that method calls can be chained together.
completedAt
- Date when the command completed.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The command status: public Command withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status
- The command status: public java.lang.Integer getExitCode()
public void setExitCode(java.lang.Integer exitCode)
exitCode
- The command exit code.public Command withExitCode(java.lang.Integer exitCode)
Returns a reference to this object so that method calls can be chained together.
exitCode
- The command exit code.public java.lang.String getLogUrl()
public void setLogUrl(java.lang.String logUrl)
logUrl
- The URL of the command log.public Command withLogUrl(java.lang.String logUrl)
Returns a reference to this object so that method calls can be chained together.
logUrl
- The URL of the command log.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The command type: public Command withType(java.lang.String type)
Returns a reference to this object so that method calls can be chained together.
type
- The command type: 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 |