Interface VerificationScript.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VerificationScript.Builder,,VerificationScript> SdkBuilder<VerificationScript.Builder,,VerificationScript> SdkPojo
- Enclosing class:
VerificationScript
@Mutable
@NotThreadSafe
public static interface VerificationScript.Builder
extends SdkPojo, CopyableBuilder<VerificationScript.Builder,VerificationScript>
-
Method Summary
Modifier and TypeMethodDescriptionenvVars(Collection<VerificationScriptEnvVar> envVars) The list of environment variables required to run the verification script.envVars(Consumer<VerificationScriptEnvVar.Builder>... envVars) The list of environment variables required to run the verification script.envVars(VerificationScriptEnvVar... envVars) The list of environment variables required to run the verification script.instructions(String instructions) Instructions for running the verification script, including prerequisites and how to interpret results.scriptType(String scriptType) The type of script.URL to download the verification 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
-
scriptType
The type of script. Valid values are python and bash.
- Parameters:
scriptType- The type of script. Valid values are python and bash.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scriptUrl
URL to download the verification script.
- Parameters:
scriptUrl- URL to download the verification script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructions
Instructions for running the verification script, including prerequisites and how to interpret results.
- Parameters:
instructions- Instructions for running the verification script, including prerequisites and how to interpret results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envVars
The list of environment variables required to run the verification script.
- Parameters:
envVars- The list of environment variables required to run the verification script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envVars
The list of environment variables required to run the verification script.
- Parameters:
envVars- The list of environment variables required to run the verification script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
envVars
The list of environment variables required to run the verification script.
This is a convenience method that creates an instance of theVerificationScriptEnvVar.Builderavoiding the need to create one manually viaVerificationScriptEnvVar.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvVars(List<VerificationScriptEnvVar>).- Parameters:
envVars- a consumer that will call methods onVerificationScriptEnvVar.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-