Interface Schema.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Schema.Builder,,- Schema> - SdkBuilder<Schema.Builder,,- Schema> - SdkPojo
- Enclosing class:
- Schema
@Mutable
@NotThreadSafe
public static interface Schema.Builder
extends SdkPojo, CopyableBuilder<Schema.Builder,Schema> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
attributesAn 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.
 
- 
attributesAn 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.
 
- 
attributesAn 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 toattributes(List<SchemaAttribute>).- Parameters:
- attributes- a consumer that will call methods on- SchemaAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-