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