@Generated(value="software.amazon.awssdk:codegen") public class DescribeResizeResponse extends RedshiftResponse implements ToCopyableBuilder<DescribeResizeResponse.Builder,DescribeResizeResponse>
Describes the result of a cluster resize operation.
Modifier and Type | Class and Description |
---|---|
static interface |
DescribeResizeResponse.Builder |
Modifier and Type | Method and Description |
---|---|
Double |
avgResizeRateInMegaBytesPerSecond()
The average rate of the resize operation over the last few minutes, measured in megabytes per second.
|
static DescribeResizeResponse.Builder |
builder() |
Long |
elapsedTimeInSeconds()
The amount of seconds that have elapsed since the resize operation began.
|
boolean |
equals(Object obj) |
Long |
estimatedTimeToCompletionInSeconds()
The estimated time remaining, in seconds, until the resize operation is complete.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
List<String> |
importTablesCompleted()
The names of tables that have been completely imported .
|
List<String> |
importTablesInProgress()
The names of tables that are being currently imported.
|
List<String> |
importTablesNotStarted()
The names of tables that have not been yet imported.
|
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.
|
static Class<? extends DescribeResizeResponse.Builder> |
serializableBuilderClass() |
String |
status()
The status of the resize operation.
|
String |
targetClusterType()
The cluster type after the resize operation is complete.
|
String |
targetNodeType()
The node type that the cluster will have after the resize operation is complete.
|
Integer |
targetNumberOfNodes()
The number of nodes that the cluster will have after the resize operation is complete.
|
DescribeResizeResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Long |
totalResizeDataInMegaBytes()
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
|
copy
public String targetNodeType()
The node type that the cluster will have after the resize operation is complete.
public Integer targetNumberOfNodes()
The number of nodes that the cluster will have after the resize operation is complete.
public String targetClusterType()
The cluster type after the resize operation is complete.
Valid Values: multi-node
| single-node
Valid Values: multi-node
| single-node
public String status()
The status of the resize operation.
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
Valid Values: NONE
| IN_PROGRESS
| FAILED
| SUCCEEDED
public List<String> importTablesCompleted()
The names of tables that have been completely imported .
Valid Values: List of table names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Valid Values: List of table names.
public List<String> importTablesInProgress()
The names of tables that are being currently imported.
Valid Values: List of table names.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Valid Values: List of table names.
public List<String> importTablesNotStarted()
The names of tables that have not been yet imported.
Valid Values: List of table names
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
Valid Values: List of table names
public 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.
public Long totalResizeDataInMegaBytes()
The estimated total amount of data, in megabytes, on the cluster before the resize operation began.
public 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).
public 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.
public 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 DescribeResizeResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DescribeResizeResponse.Builder,DescribeResizeResponse>
toBuilder
in class AwsResponse
public static DescribeResizeResponse.Builder builder()
public static Class<? extends DescribeResizeResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.