Interface GetStreamResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetStreamResponse.Builder,,GetStreamResponse> DsqlResponse.Builder,SdkBuilder<GetStreamResponse.Builder,,GetStreamResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetStreamResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the retrieved stream.clusterIdentifier(String clusterIdentifier) The ID of the cluster for the retrieved stream.creationTime(Instant creationTime) The time when the stream was created.The format of the stream records.format(StreamFormat format) The format of the stream records.The ordering mode of the stream.ordering(StreamOrdering ordering) The ordering mode of the stream.The current status of the retrieved stream.status(StreamStatus status) The current status of the retrieved stream.default GetStreamResponse.BuilderstatusReason(Consumer<StatusReason.Builder> statusReason) Stream status reason with error code and timestamp (if applicable).statusReason(StatusReason statusReason) Stream status reason with error code and timestamp (if applicable).streamIdentifier(String streamIdentifier) The ID of the retrieved stream.A map of tags associated with the stream.default GetStreamResponse.BuildertargetDefinition(Consumer<TargetDefinition.Builder> targetDefinition) The target definition for the stream destination.targetDefinition(TargetDefinition targetDefinition) The target definition for the stream destination.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dsql.model.DsqlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
clusterIdentifier
The ID of the cluster for the retrieved stream.
- Parameters:
clusterIdentifier- The ID of the cluster for the retrieved stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamIdentifier
The ID of the retrieved stream.
- Parameters:
streamIdentifier- The ID of the retrieved stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the retrieved stream.
- Parameters:
arn- The ARN of the retrieved stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the retrieved stream.
- Parameters:
status- The current status of the retrieved stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the retrieved stream.
- Parameters:
status- The current status of the retrieved stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time when the stream was created.
- Parameters:
creationTime- The time when the stream was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ordering
The ordering mode of the stream.
- Parameters:
ordering- The ordering mode of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ordering
The ordering mode of the stream.
- Parameters:
ordering- The ordering mode of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the stream records.
- Parameters:
format- The format of the stream records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the stream records.
- Parameters:
format- The format of the stream records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDefinition
The target definition for the stream destination.
- Parameters:
targetDefinition- The target definition for the stream destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDefinition
default GetStreamResponse.Builder targetDefinition(Consumer<TargetDefinition.Builder> targetDefinition) The target definition for the stream destination.
This is a convenience method that creates an instance of theTargetDefinition.Builderavoiding the need to create one manually viaTargetDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetDefinition(TargetDefinition).- Parameters:
targetDefinition- a consumer that will call methods onTargetDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
Stream status reason with error code and timestamp (if applicable).
- Parameters:
statusReason- Stream status reason with error code and timestamp (if applicable).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
Stream status reason with error code and timestamp (if applicable).
This is a convenience method that creates an instance of theStatusReason.Builderavoiding the need to create one manually viaStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(StatusReason).- Parameters:
statusReason- a consumer that will call methods onStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of tags associated with the stream.
- Parameters:
tags- A map of tags associated with the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-