com.amazonaws.services.redshift.model
Class DescribeResizeResult

java.lang.Object
  extended by com.amazonaws.services.redshift.model.DescribeResizeResult
All Implemented Interfaces:
Serializable

public class DescribeResizeResult
extends Object
implements Serializable

Describes the result of a cluster resize operation.

See Also:
Serialized Form

Constructor Summary
DescribeResizeResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeResizeResult

public DescribeResizeResult()
Method Detail

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.

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.

withTargetNodeType

public DescribeResizeResult withTargetNodeType(String targetNodeType)
The node type that the cluster will have after the resize operation is complete.

Returns a reference to this object so that method calls can be chained together.

Parameters:
targetNodeType - The node type that the cluster will have after the resize operation is complete.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withTargetNumberOfNodes

public DescribeResizeResult withTargetNumberOfNodes(Integer targetNumberOfNodes)
The number of nodes that the cluster will have after the resize operation is complete.

Returns a reference to this object so that method calls can be chained together.

Parameters:
targetNumberOfNodes - The number of nodes that the cluster will have after the resize operation is complete.
Returns:
A reference to this updated object so that method calls can be chained together.

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


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


withTargetClusterType

public DescribeResizeResult withTargetClusterType(String targetClusterType)
The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

Returns a reference to this object so that method calls can be chained together.

Parameters:
targetClusterType - The cluster type after the resize operation is complete.

Valid Values: multi-node | single-node

Returns:
A reference to this updated object so that method calls can be chained together.

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


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


withStatus

public DescribeResizeResult withStatus(String status)
The status of the resize operation.

Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The status of the resize operation.

Valid Values: NONE | IN_PROGRESS | FAILED | SUCCEEDED

Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesCompleted - The names of tables that have been completely imported .

Valid Values: List of table names.

Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesCompleted - The names of tables that have been completely imported .

Valid Values: List of table names.

Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesInProgress - The names of tables that are being currently imported.

Valid Values: List of table names.

Returns:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesInProgress - The names of tables that are being currently imported.

Valid Values: List of table names.

Returns:
A reference to this updated 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

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesNotStarted - The names of tables that have not been yet imported.

Valid Values: List of table names

Returns:
A reference to this updated 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

Returns a reference to this object so that method calls can be chained together.

Parameters:
importTablesNotStarted - The names of tables that have not been yet imported.

Valid Values: List of table names

Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

withTotalResizeDataInMegaBytes

public DescribeResizeResult withTotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.

Returns a reference to this object so that method calls can be chained together.

Parameters:
totalResizeDataInMegaBytes - The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
Returns:
A reference to this updated object so that method calls can be chained together.

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).

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).

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).

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.