Class ClusterOperationV2

    • Method Detail

      • clusterArn

        public final String clusterArn()

        ARN of the cluster.

        Returns:

        ARN of the cluster.

      • clusterTypeAsString

        public final String clusterTypeAsString()

        Type of the backend cluster.

        If the service returns an enum value that is not available in the current SDK version, clusterType will return ClusterType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from clusterTypeAsString().

        Returns:

        Type of the backend cluster.

        See Also:
        ClusterType
      • startTime

        public final Instant startTime()

        The time at which operation was started.

        Returns:

        The time at which operation was started.

      • endTime

        public final Instant endTime()

        The time at which the operation finished.

        Returns:

        The time at which the operation finished.

      • errorInfo

        public final ErrorInfo errorInfo()

        If cluster operation failed from an error, it describes the error.

        Returns:

        If cluster operation failed from an error, it describes the error.

      • operationArn

        public final String operationArn()

        ARN of the cluster operation.

        Returns:

        ARN of the cluster operation.

      • operationState

        public final String operationState()

        State of the cluster operation.

        Returns:

        State of the cluster operation.

      • operationType

        public final String operationType()

        Type of the cluster operation.

        Returns:

        Type of the cluster operation.

      • provisioned

        public final ClusterOperationV2Provisioned provisioned()

        Properties of a provisioned cluster.

        Returns:

        Properties of a provisioned cluster.

      • serverless

        public final ClusterOperationV2Serverless serverless()

        Properties of a serverless cluster.

        Returns:

        Properties of a serverless cluster.

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)