Interface Schema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Schema.Builder,
,Schema> SdkBuilder<Schema.Builder,
,Schema> SdkPojo
- Enclosing class:
Schema
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<SchemaAttribute> attributes) An array of attributes specifying the name and type of each field in a dataset.attributes
(Consumer<SchemaAttribute.Builder>... attributes) An array of attributes specifying the name and type of each field in a dataset.attributes
(SchemaAttribute... attributes) An array of attributes specifying the name and type of each field in a dataset.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
-
attributes
An array of attributes specifying the name and type of each field in a dataset.
- Parameters:
attributes
- An array of attributes specifying the name and type of each field in a dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An array of attributes specifying the name and type of each field in a dataset.
- Parameters:
attributes
- An array of attributes specifying the name and type of each field in a dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An array of attributes specifying the name and type of each field in a dataset.
This is a convenience method that creates an instance of theSchemaAttribute.Builder
avoiding the need to create one manually viaSchemaAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<SchemaAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onSchemaAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-