Interface TableRestoreStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
,SdkBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
,SdkPojo
- Enclosing class:
- TableRestoreStatus
public static interface TableRestoreStatus.Builder extends SdkPojo, CopyableBuilder<TableRestoreStatus.Builder,TableRestoreStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TableRestoreStatus.Builder
clusterIdentifier(String clusterIdentifier)
The identifier of the Amazon Redshift cluster that the table is being restored to.TableRestoreStatus.Builder
message(String message)
A description of the status of the table restore request.TableRestoreStatus.Builder
newTableName(String newTableName)
The name of the table to create as a result of the table restore request.TableRestoreStatus.Builder
progressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes (MB).TableRestoreStatus.Builder
requestTime(Instant requestTime)
The time that the table restore request was made, in Universal Coordinated Time (UTC).TableRestoreStatus.Builder
snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the table is being restored from.TableRestoreStatus.Builder
sourceDatabaseName(String sourceDatabaseName)
The name of the source database that contains the table being restored.TableRestoreStatus.Builder
sourceSchemaName(String sourceSchemaName)
The name of the source schema that contains the table being restored.TableRestoreStatus.Builder
sourceTableName(String sourceTableName)
The name of the source table being restored.TableRestoreStatus.Builder
status(String status)
A value that describes the current state of the table restore request.TableRestoreStatus.Builder
status(TableRestoreStatusType status)
A value that describes the current state of the table restore request.TableRestoreStatus.Builder
tableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.TableRestoreStatus.Builder
targetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.TableRestoreStatus.Builder
targetSchemaName(String targetSchemaName)
The name of the schema to restore the table to.TableRestoreStatus.Builder
totalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes (MB).-
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, sdkFields
-
-
-
-
Method Detail
-
tableRestoreRequestId
TableRestoreStatus.Builder tableRestoreRequestId(String tableRestoreRequestId)
The unique identifier for the table restore request.
- Parameters:
tableRestoreRequestId
- The unique identifier for the table restore request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
TableRestoreStatus.Builder status(String status)
A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
- Parameters:
status
- A value that describes the current state of the table restore request.Valid Values:
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TableRestoreStatusType
,TableRestoreStatusType
-
status
TableRestoreStatus.Builder status(TableRestoreStatusType status)
A value that describes the current state of the table restore request.
Valid Values:
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
- Parameters:
status
- A value that describes the current state of the table restore request.Valid Values:
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TableRestoreStatusType
,TableRestoreStatusType
-
message
TableRestoreStatus.Builder message(String message)
A description of the status of the table restore request. Status values include
SUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
.- Parameters:
message
- A description of the status of the table restore request. Status values includeSUCCEEDED
,FAILED
,CANCELED
,PENDING
,IN_PROGRESS
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestTime
TableRestoreStatus.Builder requestTime(Instant requestTime)
The time that the table restore request was made, in Universal Coordinated Time (UTC).
- Parameters:
requestTime
- The time that the table restore request was made, in Universal Coordinated Time (UTC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressInMegaBytes
TableRestoreStatus.Builder progressInMegaBytes(Long progressInMegaBytes)
The amount of data restored to the new table so far, in megabytes (MB).
- Parameters:
progressInMegaBytes
- The amount of data restored to the new table so far, in megabytes (MB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalDataInMegaBytes
TableRestoreStatus.Builder totalDataInMegaBytes(Long totalDataInMegaBytes)
The total amount of data to restore to the new table, in megabytes (MB).
- Parameters:
totalDataInMegaBytes
- The total amount of data to restore to the new table, in megabytes (MB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterIdentifier
TableRestoreStatus.Builder clusterIdentifier(String clusterIdentifier)
The identifier of the Amazon Redshift cluster that the table is being restored to.
- Parameters:
clusterIdentifier
- The identifier of the Amazon Redshift cluster that the table is being restored to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotIdentifier
TableRestoreStatus.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot that the table is being restored from.
- Parameters:
snapshotIdentifier
- The identifier of the snapshot that the table is being restored from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDatabaseName
TableRestoreStatus.Builder sourceDatabaseName(String sourceDatabaseName)
The name of the source database that contains the table being restored.
- Parameters:
sourceDatabaseName
- The name of the source database that contains the table being restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceSchemaName
TableRestoreStatus.Builder sourceSchemaName(String sourceSchemaName)
The name of the source schema that contains the table being restored.
- Parameters:
sourceSchemaName
- The name of the source schema that contains the table being restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceTableName
TableRestoreStatus.Builder sourceTableName(String sourceTableName)
The name of the source table being restored.
- Parameters:
sourceTableName
- The name of the source table being restored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDatabaseName
TableRestoreStatus.Builder targetDatabaseName(String targetDatabaseName)
The name of the database to restore the table to.
- Parameters:
targetDatabaseName
- The name of the database to restore the table to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetSchemaName
TableRestoreStatus.Builder targetSchemaName(String targetSchemaName)
The name of the schema to restore the table to.
- Parameters:
targetSchemaName
- The name of the schema to restore the table to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newTableName
TableRestoreStatus.Builder newTableName(String newTableName)
The name of the table to create as a result of the table restore request.
- Parameters:
newTableName
- The name of the table to create as a result of the table restore request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-