Interface Schema.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Schema.Builder,Schema>,SdkBuilder<Schema.Builder,Schema>,SdkPojo
- Enclosing class:
- Schema
public static interface Schema.Builder extends SdkPojo, CopyableBuilder<Schema.Builder,Schema>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema.Builderattributes(Collection<SchemaAttribute> attributes)An array of attributes specifying the name and type of each field in a dataset.Schema.Builderattributes(Consumer<SchemaAttribute.Builder>... attributes)An array of attributes specifying the name and type of each field in a dataset.Schema.Builderattributes(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attributes
Schema.Builder attributes(Collection<SchemaAttribute> 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
Schema.Builder attributes(SchemaAttribute... 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
Schema.Builder attributes(Consumer<SchemaAttribute.Builder>... 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.Builderavoiding the need to create one manually viaSchemaAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - 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:
#attributes(java.util.Collection)
-
-