@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelResizeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes the result of a cluster resize operation.
Constructor and Description |
---|
CancelResizeResult() |
Modifier and Type | Method and Description |
---|---|
CancelResizeResult |
clone() |
boolean |
equals(Object obj) |
Double |
getAvgResizeRateInMegaBytesPerSecond()
The average rate of the resize operation over the last few minutes, measured in megabytes per second.
|
Double |
getDataTransferProgressPercent()
The percent of data transferred from source cluster to target cluster.
|
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.
|
String |
getMessage()
An optional string to provide additional details about the resize action.
|
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 |
getResizeType()
An enum with possible values of
ClassicResize and ElasticResize . |
String |
getStatus()
The status of the resize operation.
|
String |
getTargetClusterType()
The cluster type after the resize operation is complete.
|
String |
getTargetEncryptionType()
The type of encryption for the cluster after the resize 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 |
setDataTransferProgressPercent(Double dataTransferProgressPercent)
The percent of data transferred from source cluster to target cluster.
|
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 |
setMessage(String message)
An optional string to provide additional details about the resize action.
|
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 |
setResizeType(String resizeType)
An enum with possible values of
ClassicResize and ElasticResize . |
void |
setStatus(String status)
The status of the resize operation.
|
void |
setTargetClusterType(String targetClusterType)
The cluster type after the resize operation is complete.
|
void |
setTargetEncryptionType(String targetEncryptionType)
The type of encryption for the cluster after the resize 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.
|
CancelResizeResult |
withAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)
The average rate of the resize operation over the last few minutes, measured in megabytes per second.
|
CancelResizeResult |
withDataTransferProgressPercent(Double dataTransferProgressPercent)
The percent of data transferred from source cluster to target cluster.
|
CancelResizeResult |
withElapsedTimeInSeconds(Long elapsedTimeInSeconds)
The amount of seconds that have elapsed since the resize operation began.
|
CancelResizeResult |
withEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
The estimated time remaining, in seconds, until the resize operation is complete.
|
CancelResizeResult |
withImportTablesCompleted(Collection<String> importTablesCompleted)
The names of tables that have been completely imported .
|
CancelResizeResult |
withImportTablesCompleted(String... importTablesCompleted)
The names of tables that have been completely imported .
|
CancelResizeResult |
withImportTablesInProgress(Collection<String> importTablesInProgress)
The names of tables that are being currently imported.
|
CancelResizeResult |
withImportTablesInProgress(String... importTablesInProgress)
The names of tables that are being currently imported.
|
CancelResizeResult |
withImportTablesNotStarted(Collection<String> importTablesNotStarted)
The names of tables that have not been yet imported.
|
CancelResizeResult |
withImportTablesNotStarted(String... importTablesNotStarted)
The names of tables that have not been yet imported.
|
CancelResizeResult |
withMessage(String message)
An optional string to provide additional details about the resize action.
|
CancelResizeResult |
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.
|
CancelResizeResult |
withResizeType(String resizeType)
An enum with possible values of
ClassicResize and ElasticResize . |
CancelResizeResult |
withStatus(String status)
The status of the resize operation.
|
CancelResizeResult |
withTargetClusterType(String targetClusterType)
The cluster type after the resize operation is complete.
|
CancelResizeResult |
withTargetEncryptionType(String targetEncryptionType)
The type of encryption for the cluster after the resize is complete.
|
CancelResizeResult |
withTargetNodeType(String targetNodeType)
The node type that the cluster will have after the resize operation is complete.
|
CancelResizeResult |
withTargetNumberOfNodes(Integer targetNumberOfNodes)
The number of nodes that the cluster will have after the resize operation is complete.
|
CancelResizeResult |
withTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTargetNodeType(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 String getTargetNodeType()
The node type that the cluster will have after the resize operation is complete.
public CancelResizeResult withTargetNodeType(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(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 Integer getTargetNumberOfNodes()
The number of nodes that the cluster will have after the resize operation is complete.
public CancelResizeResult withTargetNumberOfNodes(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(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 String getTargetClusterType()
The cluster type after the resize operation is complete.
Valid Values: multi-node
| single-node
Valid Values: multi-node
| single-node
public CancelResizeResult withTargetClusterType(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(String status)
The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
|
CANCELLING
status
- The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
| CANCELLING
public String getStatus()
The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
|
CANCELLING
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
| CANCELLING
public CancelResizeResult withStatus(String status)
The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
|
CANCELLING
status
- The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
| CANCELLING
public List<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(Collection<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 CancelResizeResult withImportTablesCompleted(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 CancelResizeResult withImportTablesCompleted(Collection<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 List<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(Collection<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 CancelResizeResult withImportTablesInProgress(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 CancelResizeResult withImportTablesInProgress(Collection<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 List<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(Collection<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 CancelResizeResult withImportTablesNotStarted(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 CancelResizeResult withImportTablesNotStarted(Collection<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(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 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 CancelResizeResult 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.
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(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 Long getTotalResizeDataInMegaBytes()
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
public CancelResizeResult withTotalResizeDataInMegaBytes(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(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 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 CancelResizeResult 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. 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(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 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 CancelResizeResult withElapsedTimeInSeconds(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(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 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 CancelResizeResult 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.
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 setResizeType(String resizeType)
An enum with possible values of ClassicResize
and ElasticResize
. These values describe
the type of resize operation being performed.
resizeType
- An enum with possible values of ClassicResize
and ElasticResize
. These values
describe the type of resize operation being performed.public String getResizeType()
An enum with possible values of ClassicResize
and ElasticResize
. These values describe
the type of resize operation being performed.
ClassicResize
and ElasticResize
. These values
describe the type of resize operation being performed.public CancelResizeResult withResizeType(String resizeType)
An enum with possible values of ClassicResize
and ElasticResize
. These values describe
the type of resize operation being performed.
resizeType
- An enum with possible values of ClassicResize
and ElasticResize
. These values
describe the type of resize operation being performed.public void setMessage(String message)
An optional string to provide additional details about the resize action.
message
- An optional string to provide additional details about the resize action.public String getMessage()
An optional string to provide additional details about the resize action.
public CancelResizeResult withMessage(String message)
An optional string to provide additional details about the resize action.
message
- An optional string to provide additional details about the resize action.public void setTargetEncryptionType(String targetEncryptionType)
The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
targetEncryptionType
- The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
public String getTargetEncryptionType()
The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
Possible values are KMS
and None
.
public CancelResizeResult withTargetEncryptionType(String targetEncryptionType)
The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
targetEncryptionType
- The type of encryption for the cluster after the resize is complete.
Possible values are KMS
and None
.
public void setDataTransferProgressPercent(Double dataTransferProgressPercent)
The percent of data transferred from source cluster to target cluster.
dataTransferProgressPercent
- The percent of data transferred from source cluster to target cluster.public Double getDataTransferProgressPercent()
The percent of data transferred from source cluster to target cluster.
public CancelResizeResult withDataTransferProgressPercent(Double dataTransferProgressPercent)
The percent of data transferred from source cluster to target cluster.
dataTransferProgressPercent
- The percent of data transferred from source cluster to target cluster.public String toString()
toString
in class Object
Object.toString()
public CancelResizeResult clone()