Interface ExecCapability.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExecCapability.Builder,,ExecCapability> SdkBuilder<ExecCapability.Builder,,ExecCapability> SdkPojo
- Enclosing class:
ExecCapability
@Mutable
@NotThreadSafe
public static interface ExecCapability.Builder
extends SdkPojo, CopyableBuilder<ExecCapability.Builder,ExecCapability>
-
Method Summary
Modifier and TypeMethodDescriptionArguments passed to the command.args(Collection<String> args) Arguments passed to the command.The command to execute.timeoutInSeconds(Integer timeoutInSeconds) Maximum time in seconds the command is allowed to run before being terminated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
command
The command to execute.
- Parameters:
command- The command to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Arguments passed to the command.
- Parameters:
args- Arguments passed to the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
args
Arguments passed to the command.
- Parameters:
args- Arguments passed to the command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutInSeconds
Maximum time in seconds the command is allowed to run before being terminated.
- Parameters:
timeoutInSeconds- Maximum time in seconds the command is allowed to run before being terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-