Interface JobSubmitPlugin.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobSubmitPlugin.Builder,,JobSubmitPlugin> SdkBuilder<JobSubmitPlugin.Builder,,JobSubmitPlugin> SdkPojo
- Enclosing class:
JobSubmitPlugin
-
Method Summary
Modifier and TypeMethodDescriptionA unique name for the plugin.default JobSubmitPlugin.BuilderscriptSource(Consumer<JobSubmitScriptSource.Builder> scriptSource) The source location and integrity information for the script.scriptSource(JobSubmitScriptSource scriptSource) The source location and integrity information for the script.The runtime language used to execute the custom script.type(JobSubmitPluginType type) The runtime language used to execute the custom script.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
-
name
A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (
_), and hyphens (-). The first character must be a letter or a number.- Parameters:
name- A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (_), and hyphens (-). The first character must be a letter or a number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The runtime language used to execute the custom script. Valid values:
-
STARLARK– The script uses Starlark syntax.
- Parameters:
type- The runtime language used to execute the custom script. Valid values:-
STARLARK– The script uses Starlark syntax.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
type
The runtime language used to execute the custom script. Valid values:
-
STARLARK– The script uses Starlark syntax.
- Parameters:
type- The runtime language used to execute the custom script. Valid values:-
STARLARK– The script uses Starlark syntax.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
scriptSource
The source location and integrity information for the script.
- Parameters:
scriptSource- The source location and integrity information for the script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptSource
The source location and integrity information for the script.
This is a convenience method that creates an instance of theJobSubmitScriptSource.Builderavoiding the need to create one manually viaJobSubmitScriptSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscriptSource(JobSubmitScriptSource).- Parameters:
scriptSource- a consumer that will call methods onJobSubmitScriptSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-