@Generated(value="software.amazon.awssdk:codegen") public class Command extends Object implements StructuredPojo, ToCopyableBuilder<Command.Builder,Command>
Describes a command.
Modifier and Type | Class and Description |
---|---|
static interface |
Command.Builder |
Modifier and Type | Method and Description |
---|---|
String |
acknowledgedAt()
Date and time when the command was acknowledged.
|
static Command.Builder |
builder() |
String |
commandId()
The command ID.
|
String |
completedAt()
Date when the command completed.
|
String |
createdAt()
Date and time when the command was run.
|
String |
deploymentId()
The command deployment ID.
|
boolean |
equals(Object obj) |
Integer |
exitCode()
The command exit code.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The ID of the instance where the command was executed.
|
String |
logUrl()
The URL of the command log.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Command.Builder> |
serializableBuilderClass() |
String |
status()
The command status:
|
Command.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The command type:
|
copy
public String commandId()
The command ID.
public String instanceId()
The ID of the instance where the command was executed.
public String deploymentId()
The command deployment ID.
public String createdAt()
Date and time when the command was run.
public String acknowledgedAt()
Date and time when the command was acknowledged.
public String completedAt()
Date when the command completed.
public String status()
The command status:
failed
successful
skipped
pending
failed
successful
skipped
pending
public Integer exitCode()
The command exit code.
public String logUrl()
The URL of the command log.
public String type()
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Command.Builder,Command>
public static Command.Builder builder()
public static Class<? extends Command.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.