java.lang.Object
software.amazon.awssdk.services.dynamodb.model.Stream
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<Stream.Builder,Stream>

@Generated("software.amazon.awssdk:codegen") public final class Stream extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Stream.Builder,Stream>

Represents all of the data describing a particular stream.

See Also:
  • Method Details

    • streamArn

      public final String streamArn()

      The Amazon Resource Name (ARN) for the stream.

      Returns:
      The Amazon Resource Name (ARN) for the stream.
    • tableName

      public final String tableName()

      The DynamoDB table with which the stream is associated.

      Returns:
      The DynamoDB table with which the stream is associated.
    • streamLabel

      public final String streamLabel()

      A timestamp, in ISO 8601 format, for this stream.

      Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

      • the Amazon Web Services customer ID.

      • the table name

      • the StreamLabel

      Returns:
      A timestamp, in ISO 8601 format, for this stream.

      Note that LatestStreamLabel is not a unique identifier for the stream, because it is possible that a stream from another table might have the same timestamp. However, the combination of the following three elements is guaranteed to be unique:

      • the Amazon Web Services customer ID.

      • the table name

      • the StreamLabel

    • toBuilder

      public Stream.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<Stream.Builder,Stream>
    • builder

      public static Stream.Builder builder()
    • serializableBuilderClass

      public static Class<? extends Stream.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo