Interface SharedColumnSemanticMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SharedColumnSemanticMetadata.Builder,,SharedColumnSemanticMetadata> SdkBuilder<SharedColumnSemanticMetadata.Builder,,SharedColumnSemanticMetadata> SdkPojo
- Enclosing class:
SharedColumnSemanticMetadata
@Mutable
@NotThreadSafe
public static interface SharedColumnSemanticMetadata.Builder
extends SdkPojo, CopyableBuilder<SharedColumnSemanticMetadata.Builder,SharedColumnSemanticMetadata>
-
Method Summary
Modifier and TypeMethodDescriptioncolumnNames(String... columnNames) The names of the columns this metadata applies to.columnNames(Collection<String> columnNames) The names of the columns this metadata applies to.columnProperties(Collection<ColumnSemanticProperty> columnProperties) The semantic properties for the specified columns.columnProperties(Consumer<ColumnSemanticProperty.Builder>... columnProperties) The semantic properties for the specified columns.columnProperties(ColumnSemanticProperty... columnProperties) The semantic properties for the specified columns.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
columnNames
The names of the columns this metadata applies to.
- Parameters:
columnNames- The names of the columns this metadata applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnNames
The names of the columns this metadata applies to.
- Parameters:
columnNames- The names of the columns this metadata applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnProperties
SharedColumnSemanticMetadata.Builder columnProperties(Collection<ColumnSemanticProperty> columnProperties) The semantic properties for the specified columns.
- Parameters:
columnProperties- The semantic properties for the specified columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnProperties
The semantic properties for the specified columns.
- Parameters:
columnProperties- The semantic properties for the specified columns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnProperties
SharedColumnSemanticMetadata.Builder columnProperties(Consumer<ColumnSemanticProperty.Builder>... columnProperties) The semantic properties for the specified columns.
This is a convenience method that creates an instance of theColumnSemanticProperty.Builderavoiding the need to create one manually viaColumnSemanticProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumnProperties(List<ColumnSemanticProperty>).- Parameters:
columnProperties- a consumer that will call methods onColumnSemanticProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-