Interface Schema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Schema.Builder,
,Schema> SdkBuilder<Schema.Builder,
,Schema> SdkPojo
- Enclosing class:
Schema
-
Method Summary
Modifier and TypeMethodDescriptionanalysisMethod
(String analysisMethod) The analysis method for the schema.analysisMethod
(AnalysisMethod analysisMethod) The analysis method for the schema.analysisRuleTypes
(Collection<AnalysisRuleType> analysisRuleTypes) The analysis rule types that are associated with the schema.analysisRuleTypes
(AnalysisRuleType... analysisRuleTypes) The analysis rule types that are associated with the schema.analysisRuleTypesWithStrings
(String... analysisRuleTypes) The analysis rule types that are associated with the schema.analysisRuleTypesWithStrings
(Collection<String> analysisRuleTypes) The analysis rule types that are associated with the schema.collaborationArn
(String collaborationArn) The unique Amazon Resource Name (ARN) for the collaboration that the schema belongs to.collaborationId
(String collaborationId) The unique ID for the collaboration that the schema belongs to.columns
(Collection<Column> columns) The columns for the relation that this schema represents.columns
(Consumer<Column.Builder>... columns) The columns for the relation that this schema represents.The columns for the relation that this schema represents.createTime
(Instant createTime) The time at which the schema was created.creatorAccountId
(String creatorAccountId) The unique account ID for the Amazon Web Services account that owns the schema.description
(String description) A description for the schema.A name for the schema.partitionKeys
(Collection<Column> partitionKeys) The partition keys for the dataset underlying this schema.partitionKeys
(Consumer<Column.Builder>... partitionKeys) The partition keys for the dataset underlying this schema.partitionKeys
(Column... partitionKeys) The partition keys for the dataset underlying this schema.schemaStatusDetails
(Collection<SchemaStatusDetail> schemaStatusDetails) Details about the status of the schema.schemaStatusDetails
(Consumer<SchemaStatusDetail.Builder>... schemaStatusDetails) Details about the status of the schema.schemaStatusDetails
(SchemaStatusDetail... schemaStatusDetails) Details about the status of the schema.default Schema.Builder
schemaTypeProperties
(Consumer<SchemaTypeProperties.Builder> schemaTypeProperties) The schema type properties.schemaTypeProperties
(SchemaTypeProperties schemaTypeProperties) The schema type properties.selectedAnalysisMethods
(Collection<SelectedAnalysisMethod> selectedAnalysisMethods) The selected analysis methods for the schema.selectedAnalysisMethods
(SelectedAnalysisMethod... selectedAnalysisMethods) The selected analysis methods for the schema.selectedAnalysisMethodsWithStrings
(String... selectedAnalysisMethods) The selected analysis methods for the schema.selectedAnalysisMethodsWithStrings
(Collection<String> selectedAnalysisMethods) The selected analysis methods for the schema.The type of schema.type
(SchemaType type) The type of schema.updateTime
(Instant updateTime) The most recent time at which the schema was updated.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
-
columns
The columns for the relation that this schema represents.
- Parameters:
columns
- The columns for the relation that this schema represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
The columns for the relation that this schema represents.
- Parameters:
columns
- The columns for the relation that this schema represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
The columns for the relation that this schema represents.
This is a convenience method that creates an instance of theColumn.Builder
avoiding the need to create one manually viaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumns(List<Column>)
.- Parameters:
columns
- a consumer that will call methods onColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionKeys
The partition keys for the dataset underlying this schema.
- Parameters:
partitionKeys
- The partition keys for the dataset underlying this schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
The partition keys for the dataset underlying this schema.
- Parameters:
partitionKeys
- The partition keys for the dataset underlying this schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
The partition keys for the dataset underlying this schema.
This is a convenience method that creates an instance of theColumn.Builder
avoiding the need to create one manually viaColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionKeys(List<Column>)
.- Parameters:
partitionKeys
- a consumer that will call methods onColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisRuleTypesWithStrings
The analysis rule types that are associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types that are associated with the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRuleTypesWithStrings
The analysis rule types that are associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types that are associated with the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRuleTypes
The analysis rule types that are associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types that are associated with the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRuleTypes
The analysis rule types that are associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types that are associated with the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisMethod
The analysis method for the schema.
DIRECT_QUERY
allows SQL queries to be run directly on this table.DIRECT_JOB
allows PySpark jobs to be run directly on this table.MULTIPLE
allows both SQL queries and PySpark jobs to be run directly on this table.- Parameters:
analysisMethod
- The analysis method for the schema.DIRECT_QUERY
allows SQL queries to be run directly on this table.DIRECT_JOB
allows PySpark jobs to be run directly on this table.MULTIPLE
allows both SQL queries and PySpark jobs to be run directly on this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisMethod
The analysis method for the schema.
DIRECT_QUERY
allows SQL queries to be run directly on this table.DIRECT_JOB
allows PySpark jobs to be run directly on this table.MULTIPLE
allows both SQL queries and PySpark jobs to be run directly on this table.- Parameters:
analysisMethod
- The analysis method for the schema.DIRECT_QUERY
allows SQL queries to be run directly on this table.DIRECT_JOB
allows PySpark jobs to be run directly on this table.MULTIPLE
allows both SQL queries and PySpark jobs to be run directly on this table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectedAnalysisMethodsWithStrings
The selected analysis methods for the schema.
- Parameters:
selectedAnalysisMethods
- The selected analysis methods for the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedAnalysisMethodsWithStrings
The selected analysis methods for the schema.
- Parameters:
selectedAnalysisMethods
- The selected analysis methods for the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedAnalysisMethods
The selected analysis methods for the schema.
- Parameters:
selectedAnalysisMethods
- The selected analysis methods for the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedAnalysisMethods
The selected analysis methods for the schema.
- Parameters:
selectedAnalysisMethods
- The selected analysis methods for the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorAccountId
The unique account ID for the Amazon Web Services account that owns the schema.
- Parameters:
creatorAccountId
- The unique account ID for the Amazon Web Services account that owns the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the schema. The schema relation is referred to by this name when queried by a protected query.
- Parameters:
name
- A name for the schema. The schema relation is referred to by this name when queried by a protected query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationId
The unique ID for the collaboration that the schema belongs to.
- Parameters:
collaborationId
- The unique ID for the collaboration that the schema belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationArn
The unique Amazon Resource Name (ARN) for the collaboration that the schema belongs to.
- Parameters:
collaborationArn
- The unique Amazon Resource Name (ARN) for the collaboration that the schema belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the schema.
- Parameters:
description
- A description for the schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
The time at which the schema was created.
- Parameters:
createTime
- The time at which the schema was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The most recent time at which the schema was updated.
- Parameters:
updateTime
- The most recent time at which the schema was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of schema.
- Parameters:
type
- The type of schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of schema.
- Parameters:
type
- The type of schema.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaStatusDetails
Details about the status of the schema. Currently, only one entry is present.
- Parameters:
schemaStatusDetails
- Details about the status of the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaStatusDetails
Details about the status of the schema. Currently, only one entry is present.
- Parameters:
schemaStatusDetails
- Details about the status of the schema. Currently, only one entry is present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaStatusDetails
Details about the status of the schema. Currently, only one entry is present.
This is a convenience method that creates an instance of theSchemaStatusDetail.Builder
avoiding the need to create one manually viaSchemaStatusDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaStatusDetails(List<SchemaStatusDetail>)
.- Parameters:
schemaStatusDetails
- a consumer that will call methods onSchemaStatusDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schemaTypeProperties
The schema type properties.
- Parameters:
schemaTypeProperties
- The schema type properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaTypeProperties
default Schema.Builder schemaTypeProperties(Consumer<SchemaTypeProperties.Builder> schemaTypeProperties) The schema type properties.
This is a convenience method that creates an instance of theSchemaTypeProperties.Builder
avoiding the need to create one manually viaSchemaTypeProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaTypeProperties(SchemaTypeProperties)
.- Parameters:
schemaTypeProperties
- a consumer that will call methods onSchemaTypeProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-