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