Class DescribeResizeResult
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the result of a cluster resize operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The average rate of the resize operation over the last few minutes, measured in megabytes per second.The amount of seconds that have elapsed since the resize operation began.The estimated time remaining, in seconds, until the resize operation is complete.The names of tables that have been completely imported .The names of tables that are being currently imported.The names of tables that have not been yet imported.While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far.The status of the resize operation.The cluster type after the resize operation is complete.The node type that the cluster will have after the resize operation is complete.The number of nodes that the cluster will have after the resize operation is complete.The estimated total amount of data, in megabytes, on the cluster before the resize operation began.int
hashCode()
void
setAvgResizeRateInMegaBytesPerSecond
(Double avgResizeRateInMegaBytesPerSecond) The average rate of the resize operation over the last few minutes, measured in megabytes per second.void
setElapsedTimeInSeconds
(Long elapsedTimeInSeconds) The amount of seconds that have elapsed since the resize operation began.void
setEstimatedTimeToCompletionInSeconds
(Long estimatedTimeToCompletionInSeconds) The estimated time remaining, in seconds, until the resize operation is complete.void
setImportTablesCompleted
(Collection<String> importTablesCompleted) The names of tables that have been completely imported .void
setImportTablesInProgress
(Collection<String> importTablesInProgress) The names of tables that are being currently imported.void
setImportTablesNotStarted
(Collection<String> importTablesNotStarted) The names of tables that have not been yet imported.void
setProgressInMegaBytes
(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.void
The status of the resize operation.void
setTargetClusterType
(String targetClusterType) The cluster type after the resize operation is complete.void
setTargetNodeType
(String targetNodeType) The node type that the cluster will have after the resize operation is complete.void
setTargetNumberOfNodes
(Integer targetNumberOfNodes) The number of nodes that the cluster will have after the resize operation is complete.void
setTotalResizeDataInMegaBytes
(Long totalResizeDataInMegaBytes) The estimated total amount of data, in megabytes, on the cluster before the resize operation began.toString()
Returns a string representation of this object; useful for testing and debugging.withAvgResizeRateInMegaBytesPerSecond
(Double avgResizeRateInMegaBytesPerSecond) The average rate of the resize operation over the last few minutes, measured in megabytes per second.withElapsedTimeInSeconds
(Long elapsedTimeInSeconds) The amount of seconds that have elapsed since the resize operation began.withEstimatedTimeToCompletionInSeconds
(Long estimatedTimeToCompletionInSeconds) The estimated time remaining, in seconds, until the resize operation is complete.withImportTablesCompleted
(String... importTablesCompleted) The names of tables that have been completely imported .withImportTablesCompleted
(Collection<String> importTablesCompleted) The names of tables that have been completely imported .withImportTablesInProgress
(String... importTablesInProgress) The names of tables that are being currently imported.withImportTablesInProgress
(Collection<String> importTablesInProgress) The names of tables that are being currently imported.withImportTablesNotStarted
(String... importTablesNotStarted) The names of tables that have not been yet imported.withImportTablesNotStarted
(Collection<String> importTablesNotStarted) The names of tables that have not been yet imported.withProgressInMegaBytes
(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.withStatus
(String status) The status of the resize operation.withTargetClusterType
(String targetClusterType) The cluster type after the resize operation is complete.withTargetNodeType
(String targetNodeType) The node type that the cluster will have after the resize operation is complete.withTargetNumberOfNodes
(Integer targetNumberOfNodes) The number of nodes that the cluster will have after the resize operation is complete.withTotalResizeDataInMegaBytes
(Long totalResizeDataInMegaBytes) The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
-
Constructor Details
-
DescribeResizeResult
public DescribeResizeResult()
-
-
Method Details
-
setTargetNodeType
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.
-
getTargetNodeType
The node type that the cluster will have after the resize operation is complete.
- Returns:
- The node type that the cluster will have after the resize operation is complete.
-
withTargetNodeType
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.
-
setTargetNumberOfNodes
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.
-
getTargetNumberOfNodes
The number of nodes that the cluster will have after the resize operation is complete.
- Returns:
- The number of nodes that the cluster will have after the resize operation is complete.
-
withTargetNumberOfNodes
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.
-
setTargetClusterType
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
-
getTargetClusterType
The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
- Returns:
- The cluster type after the resize operation is complete.
Valid Values:
multi-node
|single-node
-
withTargetClusterType
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.
-
setStatus
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
- Parameters:
status
- The status of the resize operation.Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
-
getStatus
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
- Returns:
- The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
-
withStatus
The status of the resize operation.
Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
- Parameters:
status
- The status of the resize operation.Valid Values:
NONE
|IN_PROGRESS
|FAILED
|SUCCEEDED
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getImportTablesCompleted
The names of tables that have been completely imported .
Valid Values: List of table names.
- Returns:
- The names of tables that have been completely imported .
Valid Values: List of table names.
-
setImportTablesCompleted
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.
-
withImportTablesCompleted
The names of tables that have been completely imported .
Valid Values: List of table names.
NOTE: This method appends the values to the existing list (if any). Use
setImportTablesCompleted(java.util.Collection)
orwithImportTablesCompleted(java.util.Collection)
if you want to override the existing values.- 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.
-
withImportTablesCompleted
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.
-
getImportTablesInProgress
The names of tables that are being currently imported.
Valid Values: List of table names.
- Returns:
- The names of tables that are being currently imported.
Valid Values: List of table names.
-
setImportTablesInProgress
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.
-
withImportTablesInProgress
The names of tables that are being currently imported.
Valid Values: List of table names.
NOTE: This method appends the values to the existing list (if any). Use
setImportTablesInProgress(java.util.Collection)
orwithImportTablesInProgress(java.util.Collection)
if you want to override the existing values.- 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.
-
withImportTablesInProgress
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.
-
getImportTablesNotStarted
The names of tables that have not been yet imported.
Valid Values: List of table names
- Returns:
- The names of tables that have not been yet imported.
Valid Values: List of table names
-
setImportTablesNotStarted
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
-
withImportTablesNotStarted
The names of tables that have not been yet imported.
Valid Values: List of table names
NOTE: This method appends the values to the existing list (if any). Use
setImportTablesNotStarted(java.util.Collection)
orwithImportTablesNotStarted(java.util.Collection)
if you want to override the existing values.- 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.
-
withImportTablesNotStarted
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.
-
setAvgResizeRateInMegaBytesPerSecond
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.
-
getAvgResizeRateInMegaBytesPerSecond
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:
- 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.
-
withAvgResizeRateInMegaBytesPerSecond
public DescribeResizeResult withAvgResizeRateInMegaBytesPerSecond(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.
-
setTotalResizeDataInMegaBytes
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.
-
getTotalResizeDataInMegaBytes
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
- Returns:
- The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
-
withTotalResizeDataInMegaBytes
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.
-
setProgressInMegaBytes
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).
-
getProgressInMegaBytes
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:
- 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).
-
withProgressInMegaBytes
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.
-
setElapsedTimeInSeconds
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.
-
getElapsedTimeInSeconds
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:
- 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.
-
withElapsedTimeInSeconds
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.
-
setEstimatedTimeToCompletionInSeconds
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.
-
getEstimatedTimeToCompletionInSeconds
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:
- 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.
-
withEstimatedTimeToCompletionInSeconds
public DescribeResizeResult withEstimatedTimeToCompletionInSeconds(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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-