public class DescribeResizeResult extends Object implements Serializable
Describes the result of a cluster resize operation.
Constructor and Description |
---|
DescribeResizeResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Double |
getAvgResizeRateInMegaBytesPerSecond()
The average rate of the resize operation over the last few minutes,
measured in megabytes per second.
|
Long |
getElapsedTimeInSeconds()
The amount of seconds that have elapsed since the resize operation
began.
|
Long |
getEstimatedTimeToCompletionInSeconds()
The estimated time remaining, in seconds, until the resize operation
is complete.
|
List<String> |
getImportTablesCompleted()
The names of tables that have been completely imported .
|
List<String> |
getImportTablesInProgress()
The names of tables that are being currently imported.
|
List<String> |
getImportTablesNotStarted()
The names of tables that have not been yet imported.
|
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.
|
String |
getStatus()
The status of the resize operation.
|
String |
getTargetClusterType()
The cluster type after the resize operation is complete.
|
String |
getTargetNodeType()
The node type that the cluster will have after the resize operation is
complete.
|
Integer |
getTargetNumberOfNodes()
The number of nodes that the cluster will have after the resize
operation is complete.
|
Long |
getTotalResizeDataInMegaBytes()
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 |
setStatus(String status)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeResizeResult |
withAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)
The average rate of the resize operation over the last few minutes,
measured in megabytes per second.
|
DescribeResizeResult |
withElapsedTimeInSeconds(Long elapsedTimeInSeconds)
The amount of seconds that have elapsed since the resize operation
began.
|
DescribeResizeResult |
withEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
The estimated time remaining, in seconds, until the resize operation
is complete.
|
DescribeResizeResult |
withImportTablesCompleted(Collection<String> importTablesCompleted)
The names of tables that have been completely imported .
|
DescribeResizeResult |
withImportTablesCompleted(String... importTablesCompleted)
The names of tables that have been completely imported .
|
DescribeResizeResult |
withImportTablesInProgress(Collection<String> importTablesInProgress)
The names of tables that are being currently imported.
|
DescribeResizeResult |
withImportTablesInProgress(String... importTablesInProgress)
The names of tables that are being currently imported.
|
DescribeResizeResult |
withImportTablesNotStarted(Collection<String> importTablesNotStarted)
The names of tables that have not been yet imported.
|
DescribeResizeResult |
withImportTablesNotStarted(String... importTablesNotStarted)
The names of tables that have not been yet imported.
|
DescribeResizeResult |
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.
|
DescribeResizeResult |
withStatus(String status)
The status of the resize operation.
|
DescribeResizeResult |
withTargetClusterType(String targetClusterType)
The cluster type after the resize operation is complete.
|
DescribeResizeResult |
withTargetNodeType(String targetNodeType)
The node type that the cluster will have after the resize operation is
complete.
|
DescribeResizeResult |
withTargetNumberOfNodes(Integer targetNumberOfNodes)
The number of nodes that the cluster will have after the resize
operation is complete.
|
DescribeResizeResult |
withTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)
The estimated total amount of data, in megabytes, on the cluster
before the resize operation began.
|
public String getTargetNodeType()
public void setTargetNodeType(String targetNodeType)
targetNodeType
- The node type that the cluster will have after the resize operation is
complete.public DescribeResizeResult withTargetNodeType(String targetNodeType)
Returns a reference to this object so that method calls can be chained together.
targetNodeType
- The node type that the cluster will have after the resize operation is
complete.public Integer getTargetNumberOfNodes()
public void setTargetNumberOfNodes(Integer targetNumberOfNodes)
targetNumberOfNodes
- The number of nodes that the cluster will have after the resize
operation is complete.public DescribeResizeResult withTargetNumberOfNodes(Integer targetNumberOfNodes)
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.public String getTargetClusterType()
Valid
Values: multi-node
| single-node
Valid
Values: multi-node
| single-node
public void setTargetClusterType(String targetClusterType)
Valid
Values: multi-node
| single-node
targetClusterType
- The cluster type after the resize operation is complete. Valid
Values: multi-node
| single-node
public DescribeResizeResult withTargetClusterType(String targetClusterType)
Valid
Values: multi-node
| single-node
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
public String getStatus()
Valid Values: NONE
| IN_PROGRESS
| FAILED
|
SUCCEEDED
Valid Values: NONE
| IN_PROGRESS
| FAILED
|
SUCCEEDED
public void setStatus(String status)
Valid Values: NONE
| IN_PROGRESS
| FAILED
|
SUCCEEDED
status
- The status of the resize operation. Valid Values: NONE
| IN_PROGRESS
| FAILED
|
SUCCEEDED
public DescribeResizeResult withStatus(String status)
Valid Values: NONE
| IN_PROGRESS
| FAILED
|
SUCCEEDED
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
public List<String> getImportTablesCompleted()
Valid Values: List of table names.
Valid Values: List of table names.
public void setImportTablesCompleted(Collection<String> importTablesCompleted)
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(String... importTablesCompleted)
Valid Values: List of table names.
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.
public DescribeResizeResult withImportTablesCompleted(Collection<String> importTablesCompleted)
Valid Values: List of table names.
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.
public List<String> getImportTablesInProgress()
Valid Values: List of table names.
Valid Values: List of table names.
public void setImportTablesInProgress(Collection<String> importTablesInProgress)
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(String... importTablesInProgress)
Valid Values: List of table names.
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.
public DescribeResizeResult withImportTablesInProgress(Collection<String> importTablesInProgress)
Valid Values: List of table names.
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.
public List<String> getImportTablesNotStarted()
Valid Values: List of table names
Valid Values: List of table names
public void setImportTablesNotStarted(Collection<String> importTablesNotStarted)
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(String... importTablesNotStarted)
Valid Values: List of table names
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
public DescribeResizeResult withImportTablesNotStarted(Collection<String> importTablesNotStarted)
Valid Values: List of table names
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
public Double getAvgResizeRateInMegaBytesPerSecond()
public void setAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)
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 DescribeResizeResult withAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)
Returns a reference to this object so that method calls can be chained together.
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 Long getTotalResizeDataInMegaBytes()
public void setTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)
totalResizeDataInMegaBytes
- The estimated total amount of data, in megabytes, on the cluster
before the resize operation began.public DescribeResizeResult withTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)
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.public Long getProgressInMegaBytes()
public void setProgressInMegaBytes(Long progressInMegaBytes)
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 DescribeResizeResult withProgressInMegaBytes(Long progressInMegaBytes)
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).public Long getElapsedTimeInSeconds()
public void setElapsedTimeInSeconds(Long elapsedTimeInSeconds)
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 DescribeResizeResult withElapsedTimeInSeconds(Long elapsedTimeInSeconds)
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.public Long getEstimatedTimeToCompletionInSeconds()
public void setEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
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 DescribeResizeResult withEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.