Interface GetChannelResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetChannelResponse.Builder,,GetChannelResponse> S3TablesResponse.Builder,SdkBuilder<GetChannelResponse.Builder,,GetChannelResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetChannelResponse
-
Method Summary
Modifier and TypeMethodDescriptionapproximateNumberOfBufferedRows(Long approximateNumberOfBufferedRows) The approximate number of rows that the channel has buffered and not yet committed to the table.The code of the error that's blocking the channel from committing buffered rows to the table.errorCode(ChannelErrorCode errorCode) The code of the error that's blocking the channel from committing buffered rows to the table.errorMessage(String errorMessage) A message that describes the error inerrorCode.The current state of the channel.state(ChannelState state) The current state of the channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3tables.model.S3TablesResponse.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
-
state
The current state of the channel. The state is one of the following values:
-
active– The channel is operating normally. -
failing– The channel can't commit rows to the table because of an error that requires your action. For details, seeerrorCodeanderrorMessage.
- Parameters:
state- The current state of the channel. The state is one of the following values:-
active– The channel is operating normally. -
failing– The channel can't commit rows to the table because of an error that requires your action. For details, seeerrorCodeanderrorMessage.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
state
The current state of the channel. The state is one of the following values:
-
active– The channel is operating normally. -
failing– The channel can't commit rows to the table because of an error that requires your action. For details, seeerrorCodeanderrorMessage.
- Parameters:
state- The current state of the channel. The state is one of the following values:-
active– The channel is operating normally. -
failing– The channel can't commit rows to the table because of an error that requires your action. For details, seeerrorCodeanderrorMessage.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
approximateNumberOfBufferedRows
The approximate number of rows that the channel has buffered and not yet committed to the table.
- Parameters:
approximateNumberOfBufferedRows- The approximate number of rows that the channel has buffered and not yet committed to the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorCode
The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, see
ChannelErrorCode.GetChannelreturns this value only whenstateisfailing.- Parameters:
errorCode- The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, seeChannelErrorCode.GetChannelreturns this value only whenstateisfailing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, see
ChannelErrorCode.GetChannelreturns this value only whenstateisfailing.- Parameters:
errorCode- The code of the error that's blocking the channel from committing buffered rows to the table. For how to fix each error, seeChannelErrorCode.GetChannelreturns this value only whenstateisfailing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
A message that describes the error in
errorCode.GetChannelreturns this value only together witherrorCode.- Parameters:
errorMessage- A message that describes the error inerrorCode.GetChannelreturns this value only together witherrorCode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-