@Generated(value="software.amazon.awssdk:codegen") public final class Command extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Command.Builder> |
serializableBuilderClass() |
String |
status()
The command status:
|
Command.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The command type:
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commandId()
The command ID.
public final String instanceId()
The ID of the instance where the command was executed.
public final String deploymentId()
The command deployment ID.
public final String createdAt()
Date and time when the command was run.
public final String acknowledgedAt()
Date and time when the command was acknowledged.
public final String completedAt()
Date when the command completed.
public final String status()
The command status:
failed
successful
skipped
pending
failed
successful
skipped
pending
public final Integer exitCode()
The command exit code.
public final String logUrl()
The URL of the command log.
public final 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()
toBuilder in interface ToCopyableBuilder<Command.Builder,Command>public static Command.Builder builder()
public static Class<? extends Command.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.