public static interface Schema.Builder extends SdkPojo, CopyableBuilder<Schema.Builder,Schema>
| Modifier and Type | Method and Description |
|---|---|
Schema.Builder |
attributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
Schema.Builder |
attributes(Consumer<SchemaAttribute.Builder>... attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
Schema.Builder |
attributes(SchemaAttribute... attributes)
An array of attributes specifying the name and type of each field in a dataset.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSchema.Builder attributes(Collection<SchemaAttribute> attributes)
An array of attributes specifying the name and type of each field in a dataset.
attributes - An array of attributes specifying the name and type of each field in a dataset.Schema.Builder attributes(SchemaAttribute... attributes)
An array of attributes specifying the name and type of each field in a dataset.
attributes - An array of attributes specifying the name and type of each field in a dataset.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.Builder avoiding the need to create
one manually via SchemaAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #attributes(List.
attributes - a consumer that will call methods on
SchemaAttribute.Builder#attributes(java.util.Collection) Copyright © 2023. All rights reserved.