Interface StreamSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamSummary.Builder,
,StreamSummary> SdkBuilder<StreamSummary.Builder,
,StreamSummary> SdkPojo
- Enclosing class:
StreamSummary
public static interface StreamSummary.Builder
extends SdkPojo, CopyableBuilder<StreamSummary.Builder,StreamSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the stream.streamCreationTimestamp
(Instant streamCreationTimestamp) The timestamp at which the stream was created.default StreamSummary.Builder
streamModeDetails
(Consumer<StreamModeDetails.Builder> streamModeDetails) Sets the value of the StreamModeDetails property for this object.streamModeDetails
(StreamModeDetails streamModeDetails) Sets the value of the StreamModeDetails property for this object.streamName
(String streamName) The name of a stream.streamStatus
(String streamStatus) The status of the stream.streamStatus
(StreamStatus streamStatus) The status of the stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
streamName
The name of a stream.
- Parameters:
streamName
- The name of a stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
The ARN of the stream.
- Parameters:
streamARN
- The ARN of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamStatus
The status of the stream.
- Parameters:
streamStatus
- The status of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamStatus
The status of the stream.
- Parameters:
streamStatus
- The status of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamModeDetails
Sets the value of the StreamModeDetails property for this object.- Parameters:
streamModeDetails
- The new value for the StreamModeDetails property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamModeDetails
default StreamSummary.Builder streamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails) Sets the value of the StreamModeDetails property for this object. This is a convenience method that creates an instance of theStreamModeDetails.Builder
avoiding the need to create one manually viaStreamModeDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostreamModeDetails(StreamModeDetails)
.- Parameters:
streamModeDetails
- a consumer that will call methods onStreamModeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
streamCreationTimestamp
The timestamp at which the stream was created.
- Parameters:
streamCreationTimestamp
- The timestamp at which the stream was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-