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 interface
Stream.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stream.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends Stream.Builder>
serializableBuilderClass()
String
streamArn()
The Amazon Resource Name (ARN) for the stream.String
streamLabel()
A timestamp, in ISO 8601 format, for this stream.String
tableName()
The DynamoDB table with which the stream is associated.Stream.Builder
toBuilder()
String
toString()
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
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 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:
equalsBySdkFields
in 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.
-
-