Interface CancelResizeResponse.Builder

    • Method Detail

      • targetNodeType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        CancelResizeResponse.Builder resizeType​(String resizeType)

        An enum with possible values of ClassicResize and ElasticResize. These values describe the type of resize operation being performed.

        Parameters:
        resizeType - An enum with possible values of ClassicResize and ElasticResize. 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

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

        CancelResizeResponse.Builder targetEncryptionType​(String targetEncryptionType)

        The type of encryption for the cluster after the resize is complete.

        Possible values are KMS and None.

        Parameters:
        targetEncryptionType - The type of encryption for the cluster after the resize is complete.

        Possible values are KMS and None.

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

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