Interface UserDataValidationParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UserDataValidationParameters.Builder,
,UserDataValidationParameters> SdkBuilder<UserDataValidationParameters.Builder,
,UserDataValidationParameters> SdkPojo
- Enclosing class:
UserDataValidationParameters
public static interface UserDataValidationParameters.Builder
extends SdkPojo, CopyableBuilder<UserDataValidationParameters.Builder,UserDataValidationParameters>
-
Method Summary
Modifier and TypeMethodDescriptionscriptType
(String scriptType) The type of validation script.scriptType
(ScriptType scriptType) The type of validation script.source
(Consumer<Source.Builder> source) The location of the validation script.The location of the validation 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, sdkFields
-
Method Details
-
source
The location of the validation script.
- Parameters:
source
- The location of the validation script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The location of the validation script.
This is a convenience method that creates an instance of theSource.Builder
avoiding the need to create one manually viaSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(Source)
.- Parameters:
source
- a consumer that will call methods onSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scriptType
The type of validation script.
- Parameters:
scriptType
- The type of validation script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scriptType
The type of validation script.
- Parameters:
scriptType
- The type of validation script.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-