Class Stream
- 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStream.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stream.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Stream.Builder>serializableBuilderClass()StringstreamArn()The Amazon Resource Name (ARN) for the stream.StringstreamLabel()A timestamp, in ISO 8601 format, for this stream.StringtableName()The DynamoDB table with which the stream is associated.Stream.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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
LatestStreamLabelis 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
LatestStreamLabelis 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:
toBuilderin interfaceToCopyableBuilder<Stream.Builder,Stream>
-
builder
public static Stream.Builder builder()
-
serializableBuilderClass
public static Class<? extends Stream.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-