Interface Command.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Command.Builder,Command>,SdkBuilder<Command.Builder,Command>,SdkPojo
- Enclosing class:
- Command
public static interface Command.Builder extends SdkPojo, CopyableBuilder<Command.Builder,Command>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Command.BuilderacknowledgedAt(String acknowledgedAt)Date and time when the command was acknowledged.Command.BuildercommandId(String commandId)The command ID.Command.BuildercompletedAt(String completedAt)Date when the command completed.Command.BuildercreatedAt(String createdAt)Date and time when the command was run.Command.BuilderdeploymentId(String deploymentId)The command deployment ID.Command.BuilderexitCode(Integer exitCode)The command exit code.Command.BuilderinstanceId(String instanceId)The ID of the instance where the command was executed.Command.BuilderlogUrl(String logUrl)The URL of the command log.Command.Builderstatus(String status)The command status:Command.Buildertype(String type)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 Detail
-
commandId
Command.Builder commandId(String 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
Command.Builder instanceId(String 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
Command.Builder deploymentId(String 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
Command.Builder createdAt(String 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
Command.Builder acknowledgedAt(String 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
Command.Builder completedAt(String 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
Command.Builder status(String 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
Command.Builder exitCode(Integer 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
Command.Builder logUrl(String 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
Command.Builder type(String 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.
-
-
-