Class DescribeResizeResult
- java.lang.Object
-
- com.amazonaws.services.redshift.model.DescribeResizeResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeResizeResult extends Object implements Serializable, Cloneable
Describes the result of a cluster resize operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeResizeResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeResizeResultclone()booleanequals(Object obj)DoublegetAvgResizeRateInMegaBytesPerSecond()The average rate of the resize operation over the last few minutes, measured in megabytes per second.LonggetElapsedTimeInSeconds()The amount of seconds that have elapsed since the resize operation began.LonggetEstimatedTimeToCompletionInSeconds()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.LonggetProgressInMegaBytes()While the resize operation is in progress, this value shows the current amount of data, in megabytes, that has been processed so far.StringgetStatus()The status of the resize operation.StringgetTargetClusterType()The cluster type after the resize operation is complete.StringgetTargetNodeType()The node type that the cluster will have after the resize operation is complete.IntegergetTargetNumberOfNodes()The number of nodes that the cluster will have after the resize operation is complete.LonggetTotalResizeDataInMegaBytes()The estimated total amount of data, in megabytes, on the cluster before the resize operation began.inthashCode()voidsetAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)The average rate of the resize operation over the last few minutes, measured in megabytes per second.voidsetElapsedTimeInSeconds(Long elapsedTimeInSeconds)The amount of seconds that have elapsed since the resize operation began.voidsetEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)The estimated time remaining, in seconds, until the resize operation is complete.voidsetImportTablesCompleted(Collection<String> importTablesCompleted)The names of tables that have been completely imported .voidsetImportTablesInProgress(Collection<String> importTablesInProgress)The names of tables that are being currently imported.voidsetImportTablesNotStarted(Collection<String> importTablesNotStarted)The names of tables that have not been yet imported.voidsetProgressInMegaBytes(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.voidsetStatus(String status)The status of the resize operation.voidsetTargetClusterType(String targetClusterType)The cluster type after the resize operation is complete.voidsetTargetNodeType(String targetNodeType)The node type that the cluster will have after the resize operation is complete.voidsetTargetNumberOfNodes(Integer targetNumberOfNodes)The number of nodes that the cluster will have after the resize operation is complete.voidsetTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)The estimated total amount of data, in megabytes, on the cluster before the resize operation began.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeResizeResultwithAvgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)The average rate of the resize operation over the last few minutes, measured in megabytes per second.DescribeResizeResultwithElapsedTimeInSeconds(Long elapsedTimeInSeconds)The amount of seconds that have elapsed since the resize operation began.DescribeResizeResultwithEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)The estimated time remaining, in seconds, until the resize operation is complete.DescribeResizeResultwithImportTablesCompleted(String... importTablesCompleted)The names of tables that have been completely imported .DescribeResizeResultwithImportTablesCompleted(Collection<String> importTablesCompleted)The names of tables that have been completely imported .DescribeResizeResultwithImportTablesInProgress(String... importTablesInProgress)The names of tables that are being currently imported.DescribeResizeResultwithImportTablesInProgress(Collection<String> importTablesInProgress)The names of tables that are being currently imported.DescribeResizeResultwithImportTablesNotStarted(String... importTablesNotStarted)The names of tables that have not been yet imported.DescribeResizeResultwithImportTablesNotStarted(Collection<String> importTablesNotStarted)The names of tables that have not been yet imported.DescribeResizeResultwithProgressInMegaBytes(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.DescribeResizeResultwithStatus(String status)The status of the resize operation.DescribeResizeResultwithTargetClusterType(String targetClusterType)The cluster type after the resize operation is complete.DescribeResizeResultwithTargetNodeType(String targetNodeType)The node type that the cluster will have after the resize operation is complete.DescribeResizeResultwithTargetNumberOfNodes(Integer targetNumberOfNodes)The number of nodes that the cluster will have after the resize operation is complete.DescribeResizeResultwithTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
-
-
-
Method Detail
-
setTargetNodeType
public void setTargetNodeType(String 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.
-
getTargetNodeType
public String 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
public DescribeResizeResult withTargetNodeType(String 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.
-
setTargetNumberOfNodes
public void setTargetNumberOfNodes(Integer 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.
-
getTargetNumberOfNodes
public Integer 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
public DescribeResizeResult withTargetNumberOfNodes(Integer 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.
-
setTargetClusterType
public void setTargetClusterType(String 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
-
getTargetClusterType
public String 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
public DescribeResizeResult withTargetClusterType(String 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.
-
setStatus
public void setStatus(String status)
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
public String 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
public DescribeResizeResult withStatus(String status)
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
public List<String> 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
public void setImportTablesCompleted(Collection<String> 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.
-
withImportTablesCompleted
public DescribeResizeResult 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)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
public DescribeResizeResult withImportTablesCompleted(Collection<String> 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.
-
getImportTablesInProgress
public List<String> 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
public void setImportTablesInProgress(Collection<String> 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.
-
withImportTablesInProgress
public DescribeResizeResult 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)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
public DescribeResizeResult withImportTablesInProgress(Collection<String> 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.
-
getImportTablesNotStarted
public List<String> 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
public void setImportTablesNotStarted(Collection<String> 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
-
withImportTablesNotStarted
public DescribeResizeResult 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)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
public DescribeResizeResult withImportTablesNotStarted(Collection<String> 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.
-
setAvgResizeRateInMegaBytesPerSecond
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.
- 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
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.
- 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
public void setTotalResizeDataInMegaBytes(Long 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.
-
getTotalResizeDataInMegaBytes
public Long 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
public DescribeResizeResult withTotalResizeDataInMegaBytes(Long 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.
-
setProgressInMegaBytes
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).
- 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
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).
- 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
public 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. 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
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.
- 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
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.
- 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
public DescribeResizeResult 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.
- 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
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.
- 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeResizeResult clone()
-
-