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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StreamSummary.BuilderstreamARN(String streamARN)The ARN of the stream.StreamSummary.BuilderstreamCreationTimestamp(Instant streamCreationTimestamp)The timestamp at which the stream was created.default StreamSummary.BuilderstreamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails)Sets the value of the StreamModeDetails property for this object.StreamSummary.BuilderstreamModeDetails(StreamModeDetails streamModeDetails)Sets the value of the StreamModeDetails property for this object.StreamSummary.BuilderstreamName(String streamName)The name of a stream.StreamSummary.BuilderstreamStatus(String streamStatus)The status of the stream.StreamSummary.BuilderstreamStatus(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 Detail
-
streamName
StreamSummary.Builder streamName(String 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
StreamSummary.Builder streamARN(String 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
StreamSummary.Builder streamStatus(String 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,StreamStatus
-
streamStatus
StreamSummary.Builder streamStatus(StreamStatus 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,StreamStatus
-
streamModeDetails
StreamSummary.Builder streamModeDetails(StreamModeDetails 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.Builderavoiding the need to create one manually viaStreamModeDetails.builder().When the
Consumercompletes,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:
streamModeDetails(StreamModeDetails)
-
streamCreationTimestamp
StreamSummary.Builder streamCreationTimestamp(Instant 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.
-
-