Interface JournalTableConfigurationResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JournalTableConfigurationResult.Builder,
,JournalTableConfigurationResult> SdkBuilder<JournalTableConfigurationResult.Builder,
,JournalTableConfigurationResult> SdkPojo
- Enclosing class:
JournalTableConfigurationResult
-
Method Summary
Modifier and TypeMethodDescriptionerror
(Consumer<ErrorDetails.Builder> error) Sets the value of the Error property for this object.error
(ErrorDetails error) Sets the value of the Error property for this object.recordExpiration
(Consumer<RecordExpiration.Builder> recordExpiration) The journal table record expiration settings for the journal table.recordExpiration
(RecordExpiration recordExpiration) The journal table record expiration settings for the journal table.The Amazon Resource Name (ARN) for the journal table.The name of the journal table.tableStatus
(String tableStatus) The status of the journal table.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, sdkFieldNameToField, sdkFields
-
Method Details
-
tableStatus
The status of the journal table. The status values are:
-
CREATING
- The journal table is in the process of being created in the specified table bucket. -
ACTIVE
- The journal table has been created successfully, and records are being delivered to the table. -
FAILED
- Amazon S3 is unable to create the journal table, or Amazon S3 is unable to deliver records.
- Parameters:
tableStatus
- The status of the journal table. The status values are:-
CREATING
- The journal table is in the process of being created in the specified table bucket. -
ACTIVE
- The journal table has been created successfully, and records are being delivered to the table. -
FAILED
- Amazon S3 is unable to create the journal table, or Amazon S3 is unable to deliver records.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
error
Sets the value of the Error property for this object.- Parameters:
error
- The new value for the Error property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
Sets the value of the Error property for this object. This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerror(ErrorDetails)
.- Parameters:
error
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableName
The name of the journal table.
- Parameters:
tableName
- The name of the journal table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableArn
The Amazon Resource Name (ARN) for the journal table.
- Parameters:
tableArn
- The Amazon Resource Name (ARN) for the journal table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordExpiration
The journal table record expiration settings for the journal table.
- Parameters:
recordExpiration
- The journal table record expiration settings for the journal table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordExpiration
default JournalTableConfigurationResult.Builder recordExpiration(Consumer<RecordExpiration.Builder> recordExpiration) The journal table record expiration settings for the journal table.
This is a convenience method that creates an instance of theRecordExpiration.Builder
avoiding the need to create one manually viaRecordExpiration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordExpiration(RecordExpiration)
.- Parameters:
recordExpiration
- a consumer that will call methods onRecordExpiration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-