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 associated with the schema.analysisRuleTypes
(AnalysisRuleType... analysisRuleTypes) The analysis rule types associated with the schema.analysisRuleTypesWithStrings
(String... analysisRuleTypes) The analysis rule types associated with the schema.analysisRuleTypesWithStrings
(Collection<String> analysisRuleTypes) The analysis rule types associated with the schema.collaborationArn
(String collaborationArn) The unique 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 this schema represents.columns
(Consumer<Column.Builder>... columns) The columns for the relation this schema represents.The columns for the relation this schema represents.createTime
(Instant createTime) The time 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.The type of schema.type
(SchemaType type) The type of schema.updateTime
(Instant updateTime) The time the schema was last 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, sdkFields
-
Method Details
-
columns
The columns for the relation this schema represents.
- Parameters:
columns
- The columns for the relation this schema represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
The columns for the relation this schema represents.
- Parameters:
columns
- The columns for the relation this schema represents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columns
The columns for the relation 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 associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types 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 associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types 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 associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types 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 associated with the schema. Currently, only one entry is present.
- Parameters:
analysisRuleTypes
- The analysis rule types 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. The only valid value is currently DIRECT_QUERY.
- Parameters:
analysisMethod
- The analysis method for the schema. The only valid value is currently DIRECT_QUERY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisMethod
The analysis method for the schema. The only valid value is currently DIRECT_QUERY.
- Parameters:
analysisMethod
- The analysis method for the schema. The only valid value is currently DIRECT_QUERY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ARN for the collaboration that the schema belongs to.
- Parameters:
collaborationArn
- The unique 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 the schema was created.
- Parameters:
createTime
- The time the schema was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
The time the schema was last updated.
- Parameters:
updateTime
- The time the schema was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of schema. The only valid value is currently `TABLE`.
- Parameters:
type
- The type of schema. The only valid value is currently `TABLE`.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of schema. The only valid value is currently `TABLE`.
- Parameters:
type
- The type of schema. The only valid value is currently `TABLE`.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-