Interface DescribeResizeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeResizeResponse.Builder,DescribeResizeResponse>,RedshiftResponse.Builder,SdkBuilder<DescribeResizeResponse.Builder,DescribeResizeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeResizeResponse
public static interface DescribeResizeResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeResizeResponse.Builder,DescribeResizeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeResizeResponse.BuilderavgResizeRateInMegaBytesPerSecond(Double avgResizeRateInMegaBytesPerSecond)The average rate of the resize operation over the last few minutes, measured in megabytes per second.DescribeResizeResponse.BuilderdataTransferProgressPercent(Double dataTransferProgressPercent)The percent of data transferred from source cluster to target cluster.DescribeResizeResponse.BuilderelapsedTimeInSeconds(Long elapsedTimeInSeconds)The amount of seconds that have elapsed since the resize operation began.DescribeResizeResponse.BuilderestimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)The estimated time remaining, in seconds, until the resize operation is complete.DescribeResizeResponse.BuilderimportTablesCompleted(String... importTablesCompleted)The names of tables that have been completely imported .DescribeResizeResponse.BuilderimportTablesCompleted(Collection<String> importTablesCompleted)The names of tables that have been completely imported .DescribeResizeResponse.BuilderimportTablesInProgress(String... importTablesInProgress)The names of tables that are being currently imported.DescribeResizeResponse.BuilderimportTablesInProgress(Collection<String> importTablesInProgress)The names of tables that are being currently imported.DescribeResizeResponse.BuilderimportTablesNotStarted(String... importTablesNotStarted)The names of tables that have not been yet imported.DescribeResizeResponse.BuilderimportTablesNotStarted(Collection<String> importTablesNotStarted)The names of tables that have not been yet imported.DescribeResizeResponse.Buildermessage(String message)An optional string to provide additional details about the resize action.DescribeResizeResponse.BuilderprogressInMegaBytes(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.DescribeResizeResponse.BuilderresizeType(String resizeType)An enum with possible values ofClassicResizeandElasticResize.DescribeResizeResponse.Builderstatus(String status)The status of the resize operation.DescribeResizeResponse.BuildertargetClusterType(String targetClusterType)The cluster type after the resize operation is complete.DescribeResizeResponse.BuildertargetEncryptionType(String targetEncryptionType)The type of encryption for the cluster after the resize is complete.DescribeResizeResponse.BuildertargetNodeType(String targetNodeType)The node type that the cluster will have after the resize operation is complete.DescribeResizeResponse.BuildertargetNumberOfNodes(Integer targetNumberOfNodes)The number of nodes that the cluster will have after the resize operation is complete.DescribeResizeResponse.BuildertotalResizeDataInMegaBytes(Long totalResizeDataInMegaBytes)The estimated total amount of data, in megabytes, on the cluster before the resize operation began.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
targetNodeType
DescribeResizeResponse.Builder targetNodeType(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.
-
targetNumberOfNodes
DescribeResizeResponse.Builder targetNumberOfNodes(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.
-
targetClusterType
DescribeResizeResponse.Builder targetClusterType(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.
-
status
DescribeResizeResponse.Builder status(String status)
The status of the resize operation.
Valid Values:
NONE|IN_PROGRESS|FAILED|SUCCEEDED|CANCELLING- Parameters:
status- The status of the resize operation.Valid Values:
NONE|IN_PROGRESS|FAILED|SUCCEEDED|CANCELLING- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importTablesCompleted
DescribeResizeResponse.Builder importTablesCompleted(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.
-
importTablesCompleted
DescribeResizeResponse.Builder importTablesCompleted(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.
-
importTablesInProgress
DescribeResizeResponse.Builder importTablesInProgress(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.
-
importTablesInProgress
DescribeResizeResponse.Builder importTablesInProgress(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.
-
importTablesNotStarted
DescribeResizeResponse.Builder importTablesNotStarted(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.
-
importTablesNotStarted
DescribeResizeResponse.Builder importTablesNotStarted(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.
-
avgResizeRateInMegaBytesPerSecond
DescribeResizeResponse.Builder avgResizeRateInMegaBytesPerSecond(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.
-
totalResizeDataInMegaBytes
DescribeResizeResponse.Builder totalResizeDataInMegaBytes(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.
-
progressInMegaBytes
DescribeResizeResponse.Builder progressInMegaBytes(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.
-
elapsedTimeInSeconds
DescribeResizeResponse.Builder elapsedTimeInSeconds(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.
-
estimatedTimeToCompletionInSeconds
DescribeResizeResponse.Builder estimatedTimeToCompletionInSeconds(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.
-
resizeType
DescribeResizeResponse.Builder resizeType(String resizeType)
An enum with possible values of
ClassicResizeandElasticResize. These values describe the type of resize operation being performed.- Parameters:
resizeType- An enum with possible values ofClassicResizeandElasticResize. These values describe the type of resize operation being performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
DescribeResizeResponse.Builder message(String message)
An optional string to provide additional details about the resize action.
- Parameters:
message- An optional string to provide additional details about the resize action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetEncryptionType
DescribeResizeResponse.Builder targetEncryptionType(String targetEncryptionType)
The type of encryption for the cluster after the resize is complete.
Possible values are
KMSandNone.- Parameters:
targetEncryptionType- The type of encryption for the cluster after the resize is complete.Possible values are
KMSandNone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataTransferProgressPercent
DescribeResizeResponse.Builder dataTransferProgressPercent(Double dataTransferProgressPercent)
The percent of data transferred from source cluster to target cluster.
- Parameters:
dataTransferProgressPercent- The percent of data transferred from source cluster to target cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-