Interface JournalTableConfigurationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JournalTableConfigurationResult.Builder,JournalTableConfigurationResult>,SdkBuilder<JournalTableConfigurationResult.Builder,JournalTableConfigurationResult>,SdkPojo
- Enclosing class:
- JournalTableConfigurationResult
@Mutable @NotThreadSafe public static interface JournalTableConfigurationResult.Builder extends SdkPojo, CopyableBuilder<JournalTableConfigurationResult.Builder,JournalTableConfigurationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default JournalTableConfigurationResult.Buildererror(Consumer<ErrorDetails.Builder> error)Sets the value of the Error property for this object.JournalTableConfigurationResult.Buildererror(ErrorDetails error)Sets the value of the Error property for this object.default JournalTableConfigurationResult.BuilderrecordExpiration(Consumer<RecordExpiration.Builder> recordExpiration)The journal table record expiration settings for the journal table.JournalTableConfigurationResult.BuilderrecordExpiration(RecordExpiration recordExpiration)The journal table record expiration settings for the journal table.JournalTableConfigurationResult.BuildertableArn(String tableArn)The Amazon Resource Name (ARN) for the journal table.JournalTableConfigurationResult.BuildertableName(String tableName)The name of the journal table.JournalTableConfigurationResult.BuildertableStatus(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 Detail
-
tableStatus
JournalTableConfigurationResult.Builder tableStatus(String 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
JournalTableConfigurationResult.Builder error(ErrorDetails 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
default JournalTableConfigurationResult.Builder error(Consumer<ErrorDetails.Builder> error)
Sets the value of the Error property for this object. This is a convenience method that creates an instance of theErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,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:
error(ErrorDetails)
-
tableName
JournalTableConfigurationResult.Builder tableName(String 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
JournalTableConfigurationResult.Builder tableArn(String 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
JournalTableConfigurationResult.Builder recordExpiration(RecordExpiration 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.Builderavoiding the need to create one manually viaRecordExpiration.builder().When the
Consumercompletes,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:
recordExpiration(RecordExpiration)
-
-