@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Command extends Object implements Serializable, Cloneable, StructuredPojo
Describes a command.
Constructor and Description |
---|
Command() |
Modifier and Type | Method and Description |
---|---|
Command |
clone() |
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:
|
String |
getType()
The command type:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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:
|
void |
setType(String type)
The command type:
|
String |
toString()
Returns a string representation of this object.
|
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:
|
Command |
withType(String type)
The command type:
|
public void setCommandId(String commandId)
The command ID.
commandId
- The command ID.public String getCommandId()
The command ID.
public Command withCommandId(String commandId)
The command ID.
commandId
- The command ID.public void setInstanceId(String instanceId)
The ID of the instance where the command was executed.
instanceId
- The ID of the instance where the command was executed.public String getInstanceId()
The ID of the instance where the command was executed.
public Command withInstanceId(String instanceId)
The ID of the instance where the command was executed.
instanceId
- The ID of the instance where the command was executed.public void setDeploymentId(String deploymentId)
The command deployment ID.
deploymentId
- The command deployment ID.public String getDeploymentId()
The command deployment ID.
public Command withDeploymentId(String deploymentId)
The command deployment ID.
deploymentId
- The command deployment ID.public void setCreatedAt(String createdAt)
Date and time when the command was run.
createdAt
- Date and time when the command was run.public String getCreatedAt()
Date and time when the command was run.
public Command withCreatedAt(String createdAt)
Date and time when the command was run.
createdAt
- Date and time when the command was run.public void setAcknowledgedAt(String acknowledgedAt)
Date and time when the command was acknowledged.
acknowledgedAt
- Date and time when the command was acknowledged.public String getAcknowledgedAt()
Date and time when the command was acknowledged.
public Command withAcknowledgedAt(String acknowledgedAt)
Date and time when the command was acknowledged.
acknowledgedAt
- Date and time when the command was acknowledged.public void setCompletedAt(String completedAt)
Date when the command completed.
completedAt
- Date when the command completed.public String getCompletedAt()
Date when the command completed.
public Command withCompletedAt(String completedAt)
Date when the command completed.
completedAt
- Date when the command completed.public void setStatus(String status)
The command status:
failed
successful
skipped
pending
status
- The command status:
failed
successful
skipped
pending
public String getStatus()
The command status:
failed
successful
skipped
pending
failed
successful
skipped
pending
public Command withStatus(String status)
The command status:
failed
successful
skipped
pending
status
- The command status:
failed
successful
skipped
pending
public void setExitCode(Integer exitCode)
The command exit code.
exitCode
- The command exit code.public Integer getExitCode()
The command exit code.
public Command withExitCode(Integer exitCode)
The command exit code.
exitCode
- The command exit code.public void setLogUrl(String logUrl)
The URL of the command log.
logUrl
- The URL of the command log.public String getLogUrl()
The URL of the command log.
public Command withLogUrl(String logUrl)
The URL of the command log.
logUrl
- The URL of the command log.public void setType(String type)
The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
type
- The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
public String getType()
The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
public Command withType(String type)
The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
type
- The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.