Interface ChannelSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelSummary.Builder,,ChannelSummary> SdkBuilder<ChannelSummary.Builder,,ChannelSummary> SdkPojo
- Enclosing class:
ChannelSummary
-
Method Summary
Modifier and TypeMethodDescriptionchannelARN(String channelARN) The Amazon Resource Name (ARN) of the channel.channelCreationTimestamp(Instant channelCreationTimestamp) The time at which the channel was created.channelDestinationType(String channelDestinationType) The destination type of the channel.channelDestinationType(ChannelDestinationType channelDestinationType) The destination type of the channel.The unique identifier of the channel.channelName(String channelName) The name of the channel.channelStatus(String channelStatus) The current status of the channel.channelStatus(ChannelStatus channelStatus) The current status of the channel.channelStatusReason(String channelStatusReason) A message describing the reason for aFAILEDstatus.streams(Collection<ChannelStreamIdentifier> streams) The source streams associated with the channel.streams(Consumer<ChannelStreamIdentifier.Builder>... streams) The source streams associated with the channel.streams(ChannelStreamIdentifier... streams) The source streams associated with the channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
channelName
The name of the channel.
- Parameters:
channelName- The name of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelARN
The Amazon Resource Name (ARN) of the channel.
- Parameters:
channelARN- The Amazon Resource Name (ARN) of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelId
The unique identifier of the channel.
- Parameters:
channelId- The unique identifier of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelStatus
The current status of the channel. Valid values:
-
CREATING- The channel is being created. -
ACTIVE- The channel is ready to deliver records. -
UPDATING- The channel configuration is being updated. -
DELETING- The channel is being deleted. -
FAILED- SeeChannelStatusReasonfor the failure cause.
- Parameters:
channelStatus- The current status of the channel. Valid values:-
CREATING- The channel is being created. -
ACTIVE- The channel is ready to deliver records. -
UPDATING- The channel configuration is being updated. -
DELETING- The channel is being deleted. -
FAILED- SeeChannelStatusReasonfor the failure cause.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
channelStatus
The current status of the channel. Valid values:
-
CREATING- The channel is being created. -
ACTIVE- The channel is ready to deliver records. -
UPDATING- The channel configuration is being updated. -
DELETING- The channel is being deleted. -
FAILED- SeeChannelStatusReasonfor the failure cause.
- Parameters:
channelStatus- The current status of the channel. Valid values:-
CREATING- The channel is being created. -
ACTIVE- The channel is ready to deliver records. -
UPDATING- The channel configuration is being updated. -
DELETING- The channel is being deleted. -
FAILED- SeeChannelStatusReasonfor the failure cause.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
channelStatusReason
A message describing the reason for a
FAILEDstatus.- Parameters:
channelStatusReason- A message describing the reason for aFAILEDstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelCreationTimestamp
The time at which the channel was created.
- Parameters:
channelCreationTimestamp- The time at which the channel was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelDestinationType
The destination type of the channel. Valid values:
-
S3- Delivery to a general purpose Amazon S3 bucket. -
S3_TABLES- Delivery to streaming tables on Apache Iceberg.
- Parameters:
channelDestinationType- The destination type of the channel. Valid values:-
S3- Delivery to a general purpose Amazon S3 bucket. -
S3_TABLES- Delivery to streaming tables on Apache Iceberg.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
channelDestinationType
The destination type of the channel. Valid values:
-
S3- Delivery to a general purpose Amazon S3 bucket. -
S3_TABLES- Delivery to streaming tables on Apache Iceberg.
- Parameters:
channelDestinationType- The destination type of the channel. Valid values:-
S3- Delivery to a general purpose Amazon S3 bucket. -
S3_TABLES- Delivery to streaming tables on Apache Iceberg.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
streams
The source streams associated with the channel.
- Parameters:
streams- The source streams associated with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The source streams associated with the channel.
- Parameters:
streams- The source streams associated with the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streams
The source streams associated with the channel.
This is a convenience method that creates an instance of theChannelStreamIdentifier.Builderavoiding the need to create one manually viaChannelStreamIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreams(List<ChannelStreamIdentifier>).- Parameters:
streams- a consumer that will call methods onChannelStreamIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-