Interface Command.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Command.Builder,
,Command> SdkBuilder<Command.Builder,
,Command> SdkPojo
- Enclosing class:
Command
-
Method Summary
Modifier and TypeMethodDescriptionacknowledgedAt
(String acknowledgedAt) Date and time when the command was acknowledged.The command ID.completedAt
(String completedAt) Date when the command completed.Date and time when the command was run.deploymentId
(String deploymentId) The command deployment ID.The command exit code.instanceId
(String instanceId) The ID of the instance where the command was executed.The URL of the command log.The command status:The command type:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
commandId
The command ID.
- Parameters:
commandId
- The command ID.- Returns:
- 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.
- Parameters:
instanceId
- The ID of the instance where the command was executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentId
The command deployment ID.
- Parameters:
deploymentId
- The command deployment ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Date and time when the command was run.
- Parameters:
createdAt
- Date and time when the command was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acknowledgedAt
Date and time when the command was acknowledged.
- Parameters:
acknowledgedAt
- Date and time when the command was acknowledged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedAt
Date when the command completed.
- Parameters:
completedAt
- Date when the command completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The command status:
-
failed
-
successful
-
skipped
-
pending
- Parameters:
status
- The command status:-
failed
-
successful
-
skipped
-
pending
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
exitCode
The command exit code.
- Parameters:
exitCode
- The command exit code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logUrl
The URL of the command log.
- Parameters:
logUrl
- The URL of the command log.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The command type:
-
configure
-
deploy
-
execute_recipes
-
install_dependencies
-
restart
-
rollback
-
setup
-
start
-
stop
-
undeploy
-
update_custom_cookbooks
-
update_dependencies
- Parameters:
type
- The command type:-
configure
-
deploy
-
execute_recipes
-
install_dependencies
-
restart
-
rollback
-
setup
-
start
-
stop
-
undeploy
-
update_custom_cookbooks
-
update_dependencies
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-