Interface CommandPreprocessor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CommandPreprocessor.Builder,,CommandPreprocessor> SdkBuilder<CommandPreprocessor.Builder,,CommandPreprocessor> SdkPojo
- Enclosing class:
CommandPreprocessor
@Mutable
@NotThreadSafe
public static interface CommandPreprocessor.Builder
extends SdkPojo, CopyableBuilder<CommandPreprocessor.Builder,CommandPreprocessor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CommandPreprocessor.BuilderawsJsonSubstitution(Consumer<AwsJsonSubstitutionCommandPreprocessorConfig.Builder> awsJsonSubstitution) Configuration for the JSON substitution preprocessor.awsJsonSubstitution(AwsJsonSubstitutionCommandPreprocessorConfig awsJsonSubstitution) Configuration for the JSON substitution preprocessor.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
-
awsJsonSubstitution
CommandPreprocessor.Builder awsJsonSubstitution(AwsJsonSubstitutionCommandPreprocessorConfig awsJsonSubstitution) Configuration for the JSON substitution preprocessor.
- Parameters:
awsJsonSubstitution- Configuration for the JSON substitution preprocessor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsJsonSubstitution
default CommandPreprocessor.Builder awsJsonSubstitution(Consumer<AwsJsonSubstitutionCommandPreprocessorConfig.Builder> awsJsonSubstitution) Configuration for the JSON substitution preprocessor.
This is a convenience method that creates an instance of theAwsJsonSubstitutionCommandPreprocessorConfig.Builderavoiding the need to create one manually viaAwsJsonSubstitutionCommandPreprocessorConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsJsonSubstitution(AwsJsonSubstitutionCommandPreprocessorConfig).- Parameters:
awsJsonSubstitution- a consumer that will call methods onAwsJsonSubstitutionCommandPreprocessorConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-