Interface PartitionSpec.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PartitionSpec.Builder,PartitionSpec>,SdkBuilder<PartitionSpec.Builder,PartitionSpec>,SdkPojo
- Enclosing class:
- PartitionSpec
public static interface PartitionSpec.Builder extends SdkPojo, CopyableBuilder<PartitionSpec.Builder,PartitionSpec>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionSpec.Builderidentity(Collection<PartitionField> identity)List of identity transforms that performs an identity transformation.PartitionSpec.Builderidentity(Consumer<PartitionField.Builder>... identity)List of identity transforms that performs an identity transformation.PartitionSpec.Builderidentity(PartitionField... identity)List of identity transforms that performs an identity transformation.-
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 Detail
-
identity
PartitionSpec.Builder identity(Collection<PartitionField> identity)
List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.
Amazon Data Firehose is in preview release and is subject to change.
- Parameters:
identity- List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.Amazon Data Firehose is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
PartitionSpec.Builder identity(PartitionField... identity)
List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.
Amazon Data Firehose is in preview release and is subject to change.
- Parameters:
identity- List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.Amazon Data Firehose is in preview release and is subject to change.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identity
PartitionSpec.Builder identity(Consumer<PartitionField.Builder>... identity)
List of identity transforms that performs an identity transformation. The transform takes the source value, and does not modify it. Result type is the source type.
Amazon Data Firehose is in preview release and is subject to change.
This is a convenience method that creates an instance of thePartitionField.Builderavoiding the need to create one manually viaPartitionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#identity(List.) - Parameters:
identity- a consumer that will call methods onPartitionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#identity(java.util.Collection)
-
-