Interface ChannelDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelDescription.Builder,,ChannelDescription> SdkBuilder<ChannelDescription.Builder,,ChannelDescription> SdkPojo
- Enclosing class:
ChannelDescription
-
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.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.default ChannelDescription.BuilderencryptionConfiguration(Consumer<ChannelEncryptionConfiguration.Builder> encryptionConfiguration) The server-side encryption configuration for the channel.encryptionConfiguration(ChannelEncryptionConfiguration encryptionConfiguration) The server-side encryption configuration for the channel.default ChannelDescription.BuilderloggingConfiguration(Consumer<ChannelLoggingConfiguration.Builder> loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.loggingConfiguration(ChannelLoggingConfiguration loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.default ChannelDescription.Builders3DestinationConfiguration(Consumer<S3DestinationDescription.Builder> s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket.s3DestinationConfiguration(S3DestinationDescription s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket.default ChannelDescription.Builders3TablesDestinationConfiguration(Consumer<S3TablesDestinationDescription.Builder> s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables.s3TablesDestinationConfiguration(S3TablesDestinationDescription s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables.serviceExecutionRoleARN(String serviceExecutionRoleARN) The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.streamConfigurationList(Collection<ChannelStreamDescription> streamConfigurationList) The source stream configuration for the channel.streamConfigurationList(Consumer<ChannelStreamDescription.Builder>... streamConfigurationList) The source stream configuration for the channel.streamConfigurationList(ChannelStreamDescription... streamConfigurationList) The source stream configuration for 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.
-
serviceExecutionRoleARN
The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.
- Parameters:
serviceExecutionRoleARN- The Amazon Resource Name (ARN) of the IAM role that Amazon Kinesis Data Streams assumes to write records to the destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
ChannelDescription.Builder streamConfigurationList(Collection<ChannelStreamDescription> streamConfigurationList) The source stream configuration for the channel.
- Parameters:
streamConfigurationList- The source stream configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
ChannelDescription.Builder streamConfigurationList(ChannelStreamDescription... streamConfigurationList) The source stream configuration for the channel.
- Parameters:
streamConfigurationList- The source stream configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamConfigurationList
ChannelDescription.Builder streamConfigurationList(Consumer<ChannelStreamDescription.Builder>... streamConfigurationList) The source stream configuration for the channel.
This is a convenience method that creates an instance of theChannelStreamDescription.Builderavoiding the need to create one manually viaChannelStreamDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamConfigurationList(List<ChannelStreamDescription>).- Parameters:
streamConfigurationList- a consumer that will call methods onChannelStreamDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3DestinationConfiguration
ChannelDescription.Builder s3DestinationConfiguration(S3DestinationDescription s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket. Present only when the channel destination is a general purpose Amazon S3 bucket.
- Parameters:
s3DestinationConfiguration- The configuration for delivery to a general purpose Amazon S3 bucket. Present only when the channel destination is a general purpose Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DestinationConfiguration
default ChannelDescription.Builder s3DestinationConfiguration(Consumer<S3DestinationDescription.Builder> s3DestinationConfiguration) The configuration for delivery to a general purpose Amazon S3 bucket. Present only when the channel destination is a general purpose Amazon S3 bucket.
This is a convenience method that creates an instance of theS3DestinationDescription.Builderavoiding the need to create one manually viaS3DestinationDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3DestinationConfiguration(S3DestinationDescription).- Parameters:
s3DestinationConfiguration- a consumer that will call methods onS3DestinationDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3TablesDestinationConfiguration
ChannelDescription.Builder s3TablesDestinationConfiguration(S3TablesDestinationDescription s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Present only when the channel destination is a streaming table.
- Parameters:
s3TablesDestinationConfiguration- The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Present only when the channel destination is a streaming table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3TablesDestinationConfiguration
default ChannelDescription.Builder s3TablesDestinationConfiguration(Consumer<S3TablesDestinationDescription.Builder> s3TablesDestinationConfiguration) The configuration for delivery to streaming tables on Apache Iceberg in Amazon S3 Tables. Present only when the channel destination is a streaming table.
This is a convenience method that creates an instance of theS3TablesDestinationDescription.Builderavoiding the need to create one manually viaS3TablesDestinationDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3TablesDestinationConfiguration(S3TablesDestinationDescription).- Parameters:
s3TablesDestinationConfiguration- a consumer that will call methods onS3TablesDestinationDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
ChannelDescription.Builder encryptionConfiguration(ChannelEncryptionConfiguration encryptionConfiguration) The server-side encryption configuration for the channel.
- Parameters:
encryptionConfiguration- The server-side encryption configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default ChannelDescription.Builder encryptionConfiguration(Consumer<ChannelEncryptionConfiguration.Builder> encryptionConfiguration) The server-side encryption configuration for the channel.
This is a convenience method that creates an instance of theChannelEncryptionConfiguration.Builderavoiding the need to create one manually viaChannelEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(ChannelEncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onChannelEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingConfiguration
The Amazon CloudWatch Logs configuration for the channel.
- Parameters:
loggingConfiguration- The Amazon CloudWatch Logs configuration for the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfiguration
default ChannelDescription.Builder loggingConfiguration(Consumer<ChannelLoggingConfiguration.Builder> loggingConfiguration) The Amazon CloudWatch Logs configuration for the channel.
This is a convenience method that creates an instance of theChannelLoggingConfiguration.Builderavoiding the need to create one manually viaChannelLoggingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tologgingConfiguration(ChannelLoggingConfiguration).- Parameters:
loggingConfiguration- a consumer that will call methods onChannelLoggingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-