Interface ScriptDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScriptDetails.Builder,
,ScriptDetails> SdkBuilder<ScriptDetails.Builder,
,ScriptDetails> SdkPojo
- Enclosing class:
ScriptDetails
@Mutable
@NotThreadSafe
public static interface ScriptDetails.Builder
extends SdkPojo, CopyableBuilder<ScriptDetails.Builder,ScriptDetails>
-
Method Summary
Modifier and TypeMethodDescriptionexecutableParameters
(String executableParameters) The runtime parameters passed to the run path for the script.executablePath
(String executablePath) The run path for the script.default ScriptDetails.Builder
scriptS3Location
(Consumer<S3Location.Builder> scriptS3Location) The S3 object location for the script.scriptS3Location
(S3Location scriptS3Location) The S3 object location for the script.timeoutInSeconds
(Integer timeoutInSeconds) The run timeout, in seconds, for the script.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, sdkFieldNameToField, sdkFields
-
Method Details
-
scriptS3Location
The S3 object location for the script.
- Parameters:
scriptS3Location
- The S3 object location for the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptS3Location
The S3 object location for the script.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscriptS3Location(S3Location)
.- Parameters:
scriptS3Location
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executablePath
The run path for the script.
- Parameters:
executablePath
- The run path for the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executableParameters
The runtime parameters passed to the run path for the script.
- Parameters:
executableParameters
- The runtime parameters passed to the run path for the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeoutInSeconds
The run timeout, in seconds, for the script.
- Parameters:
timeoutInSeconds
- The run timeout, in seconds, for the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-