Interface ParameterDefinitionSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ParameterDefinitionSchema.Builder,
,ParameterDefinitionSchema> SdkBuilder<ParameterDefinitionSchema.Builder,
,ParameterDefinitionSchema> SdkPojo
- Enclosing class:
ParameterDefinitionSchema
@Mutable
@NotThreadSafe
public static interface ParameterDefinitionSchema.Builder
extends SdkPojo, CopyableBuilder<ParameterDefinitionSchema.Builder,ParameterDefinitionSchema>
-
Method Summary
Modifier and TypeMethodDescriptionstringSchema
(Consumer<StringSchemaConfig.Builder> stringSchema) An object that contains information about the string schema.stringSchema
(StringSchemaConfig stringSchema) An object that contains information about the string schema.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
-
stringSchema
An object that contains information about the string schema.
- Parameters:
stringSchema
- An object that contains information about the string schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringSchema
default ParameterDefinitionSchema.Builder stringSchema(Consumer<StringSchemaConfig.Builder> stringSchema) An object that contains information about the string schema.
This is a convenience method that creates an instance of theStringSchemaConfig.Builder
avoiding the need to create one manually viaStringSchemaConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostringSchema(StringSchemaConfig)
.- Parameters:
stringSchema
- a consumer that will call methods onStringSchemaConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-