Interface PartitionSpec.Builder

    • 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 the PartitionField.Builder avoiding the need to create one manually via PartitionField.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #identity(List).

        Parameters:
        identity - a consumer that will call methods on PartitionField.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #identity(java.util.Collection)