Interface CancelResizeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CancelResizeResponse.Builder,
,CancelResizeResponse> RedshiftResponse.Builder
,SdkBuilder<CancelResizeResponse.Builder,
,CancelResizeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CancelResizeResponse
-
Method Summary
Modifier and TypeMethodDescriptionavgResizeRateInMegaBytesPerSecond
(Double avgResizeRateInMegaBytesPerSecond) The average rate of the resize operation over the last few minutes, measured in megabytes per second.dataTransferProgressPercent
(Double dataTransferProgressPercent) The percent of data transferred from source cluster to target cluster.elapsedTimeInSeconds
(Long elapsedTimeInSeconds) The amount of seconds that have elapsed since the resize operation began.estimatedTimeToCompletionInSeconds
(Long estimatedTimeToCompletionInSeconds) The estimated time remaining, in seconds, until the resize operation is complete.importTablesCompleted
(String... importTablesCompleted) The names of tables that have been completely imported .importTablesCompleted
(Collection<String> importTablesCompleted) The names of tables that have been completely imported .importTablesInProgress
(String... importTablesInProgress) The names of tables that are being currently imported.importTablesInProgress
(Collection<String> importTablesInProgress) The names of tables that are being currently imported.importTablesNotStarted
(String... importTablesNotStarted) The names of tables that have not been yet imported.importTablesNotStarted
(Collection<String> importTablesNotStarted) The names of tables that have not been yet imported.An optional string to provide additional details about the resize action.progressInMegaBytes
(Long progressInMegaBytes) While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far.resizeType
(String resizeType) An enum with possible values ofClassicResize
andElasticResize
.The status of the resize operation.targetClusterType
(String targetClusterType) The cluster type after the resize operation is complete.targetEncryptionType
(String targetEncryptionType) The type of encryption for the cluster after the resize is complete.targetNodeType
(String targetNodeType) The node type that the cluster will have after the resize operation is complete.targetNumberOfNodes
(Integer targetNumberOfNodes) The number of nodes that the cluster will have after the resize operation is complete.totalResizeDataInMegaBytes
(Long totalResizeDataInMegaBytes) The estimated total amount of data, in megabytes, on the cluster before the resize operation began.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
targetNodeType
The node type that the cluster will have after the resize operation is complete.
- Parameters:
targetNodeType
- The node type that the cluster will have after the resize operation is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetNumberOfNodes
The number of nodes that the cluster will have after the resize operation is complete.
- Parameters:
targetNumberOfNodes
- The number of nodes that the cluster will have after the resize operation is complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetClusterType
The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
- Parameters:
targetClusterType
- The cluster type after the resize operation is complete.Valid Values:
multi-node
|single-node
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
|CANCELLING
- Parameters:
status
- The status of the resize operation.Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
|CANCELLING
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesCompleted
The names of tables that have been completely imported .
Valid Values: List of table names.
- Parameters:
importTablesCompleted
- The names of tables that have been completely imported .Valid Values: List of table names.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesCompleted
The names of tables that have been completely imported .
Valid Values: List of table names.
- Parameters:
importTablesCompleted
- The names of tables that have been completely imported .Valid Values: List of table names.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesInProgress
The names of tables that are being currently imported.
Valid Values: List of table names.
- Parameters:
importTablesInProgress
- The names of tables that are being currently imported.Valid Values: List of table names.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesInProgress
The names of tables that are being currently imported.
Valid Values: List of table names.
- Parameters:
importTablesInProgress
- The names of tables that are being currently imported.Valid Values: List of table names.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesNotStarted
The names of tables that have not been yet imported.
Valid Values: List of table names
- Parameters:
importTablesNotStarted
- The names of tables that have not been yet imported.Valid Values: List of table names
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesNotStarted
The names of tables that have not been yet imported.
Valid Values: List of table names
- Parameters:
importTablesNotStarted
- The names of tables that have not been yet imported.Valid Values: List of table names
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
avgResizeRateInMegaBytesPerSecond
CancelResizeResponse.Builder avgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond) The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.
- Parameters:
avgResizeRateInMegaBytesPerSecond
- The average rate of the resize operation over the last few minutes, measured in megabytes per second. After the resize operation completes, this value shows the average rate of the entire resize operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalResizeDataInMegaBytes
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
- Parameters:
totalResizeDataInMegaBytes
- The estimated total amount of data, in megabytes, on the cluster before the resize operation began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressInMegaBytes
While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).
- Parameters:
progressInMegaBytes
- While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far. When the resize operation is complete, this value shows the total amount of data, in megabytes, on the cluster, which may be more or less than TotalResizeDataInMegaBytes (the estimated total amount of data before resize).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elapsedTimeInSeconds
The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.
- Parameters:
elapsedTimeInSeconds
- The amount of seconds that have elapsed since the resize operation began. After the resize operation completes, this value shows the total actual time, in seconds, for the resize operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedTimeToCompletionInSeconds
CancelResizeResponse.Builder estimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds) The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.
- Parameters:
estimatedTimeToCompletionInSeconds
- The estimated time remaining, in seconds, until the resize operation is complete. This value is calculated based on the average resize rate and the estimated amount of data remaining to be processed. Once the resize operation is complete, this value will be 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resizeType
An enum with possible values of
ClassicResize
andElasticResize
. These values describe the type of resize operation being performed.- Parameters:
resizeType
- An enum with possible values ofClassicResize
andElasticResize
. These values describe the type of resize operation being performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
An optional string to provide additional details about the resize action.
- Parameters:
message
- An optional string to provide additional details about the resize action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEncryptionType
The type of encryption for the cluster after the resize is complete.
Possible values are
KMS
andNone
.- Parameters:
targetEncryptionType
- The type of encryption for the cluster after the resize is complete.Possible values are
KMS
andNone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataTransferProgressPercent
The percent of data transferred from source cluster to target cluster.
- Parameters:
dataTransferProgressPercent
- The percent of data transferred from source cluster to target cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-