Class StreamSummary
- java.lang.Object
-
- software.amazon.awssdk.services.kinesis.model.StreamSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamSummary.Builder,StreamSummary>
@Generated("software.amazon.awssdk:codegen") public final class StreamSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamSummary.Builder,StreamSummary>
The summary of a stream.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamSummary.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 StreamSummary.Builder>serializableBuilderClass()StringstreamARN()The ARN of the stream.InstantstreamCreationTimestamp()The timestamp at which the stream was created.StreamModeDetailsstreamModeDetails()Returns the value of the StreamModeDetails property for this object.StringstreamName()The name of a stream.StreamStatusstreamStatus()The status of the stream.StringstreamStatusAsString()The status of the stream.StreamSummary.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
-
streamName
public final String streamName()
The name of a stream.
- Returns:
- The name of a stream.
-
streamARN
public final String streamARN()
The ARN of the stream.
- Returns:
- The ARN of the stream.
-
streamStatus
public final StreamStatus streamStatus()
The status of the stream.
If the service returns an enum value that is not available in the current SDK version,
streamStatuswill returnStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamStatusAsString().- Returns:
- The status of the stream.
- See Also:
StreamStatus
-
streamStatusAsString
public final String streamStatusAsString()
The status of the stream.
If the service returns an enum value that is not available in the current SDK version,
streamStatuswill returnStreamStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstreamStatusAsString().- Returns:
- The status of the stream.
- See Also:
StreamStatus
-
streamModeDetails
public final StreamModeDetails streamModeDetails()
Returns the value of the StreamModeDetails property for this object.- Returns:
- The value of the StreamModeDetails property for this object.
-
streamCreationTimestamp
public final Instant streamCreationTimestamp()
The timestamp at which the stream was created.
- Returns:
- The timestamp at which the stream was created.
-
toBuilder
public StreamSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamSummary.Builder,StreamSummary>
-
builder
public static StreamSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamSummary.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
-
-