Interface InventoryTableConfigurationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryTableConfigurationResult.Builder,InventoryTableConfigurationResult>,SdkBuilder<InventoryTableConfigurationResult.Builder,InventoryTableConfigurationResult>,SdkPojo
- Enclosing class:
- InventoryTableConfigurationResult
@Mutable @NotThreadSafe public static interface InventoryTableConfigurationResult.Builder extends SdkPojo, CopyableBuilder<InventoryTableConfigurationResult.Builder,InventoryTableConfigurationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InventoryTableConfigurationResult.BuilderconfigurationState(String configurationState)The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.InventoryTableConfigurationResult.BuilderconfigurationState(InventoryConfigurationState configurationState)The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.default InventoryTableConfigurationResult.Buildererror(Consumer<ErrorDetails.Builder> error)Sets the value of the Error property for this object.InventoryTableConfigurationResult.Buildererror(ErrorDetails error)Sets the value of the Error property for this object.InventoryTableConfigurationResult.BuildertableArn(String tableArn)The Amazon Resource Name (ARN) for the inventory table.InventoryTableConfigurationResult.BuildertableName(String tableName)The name of the inventory table.InventoryTableConfigurationResult.BuildertableStatus(String tableStatus)The status of the inventory 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
-
configurationState
InventoryTableConfigurationResult.Builder configurationState(String configurationState)
The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.
- Parameters:
configurationState- The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InventoryConfigurationState,InventoryConfigurationState
-
configurationState
InventoryTableConfigurationResult.Builder configurationState(InventoryConfigurationState configurationState)
The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.
- Parameters:
configurationState- The configuration state of the inventory table, indicating whether the inventory table is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InventoryConfigurationState,InventoryConfigurationState
-
tableStatus
InventoryTableConfigurationResult.Builder tableStatus(String tableStatus)
The status of the inventory table. The status values are:
-
CREATING- The inventory table is in the process of being created in the specified Amazon Web Services managed table bucket. -
BACKFILLING- The inventory table is in the process of being backfilled. When you enable the inventory table for your metadata configuration, the table goes through a process known as backfilling, during which Amazon S3 scans your general purpose bucket to retrieve the initial metadata for all objects in the bucket. Depending on the number of objects in your bucket, this process can take several hours. When the backfilling process is finished, the status of your inventory table changes fromBACKFILLINGtoACTIVE. After backfilling is completed, updates to your objects are reflected in the inventory table within one hour. -
ACTIVE- The inventory table has been created successfully, and records are being delivered to the table. -
FAILED- Amazon S3 is unable to create the inventory table, or Amazon S3 is unable to deliver records.
- Parameters:
tableStatus- The status of the inventory table. The status values are:-
CREATING- The inventory table is in the process of being created in the specified Amazon Web Services managed table bucket. -
BACKFILLING- The inventory table is in the process of being backfilled. When you enable the inventory table for your metadata configuration, the table goes through a process known as backfilling, during which Amazon S3 scans your general purpose bucket to retrieve the initial metadata for all objects in the bucket. Depending on the number of objects in your bucket, this process can take several hours. When the backfilling process is finished, the status of your inventory table changes fromBACKFILLINGtoACTIVE. After backfilling is completed, updates to your objects are reflected in the inventory table within one hour. -
ACTIVE- The inventory table has been created successfully, and records are being delivered to the table. -
FAILED- Amazon S3 is unable to create the inventory 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
InventoryTableConfigurationResult.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 InventoryTableConfigurationResult.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
InventoryTableConfigurationResult.Builder tableName(String tableName)
The name of the inventory table.
- Parameters:
tableName- The name of the inventory table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableArn
InventoryTableConfigurationResult.Builder tableArn(String tableArn)
The Amazon Resource Name (ARN) for the inventory table.
- Parameters:
tableArn- The Amazon Resource Name (ARN) for the inventory table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-