JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elasticmapreduce.model

Class ClusterStatus

    • Constructor Detail

      • ClusterStatus

        public ClusterStatus()
    • Method Detail

      • setState

        public void setState(String state)

        The current state of the cluster.

        Parameters:
        state - The current state of the cluster.
        See Also:
        ClusterState
      • getState

        public String getState()

        The current state of the cluster.

        Returns:
        The current state of the cluster.
        See Also:
        ClusterState
      • withState

        public ClusterStatus withState(String state)

        The current state of the cluster.

        Parameters:
        state - The current state of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClusterState
      • setState

        public void setState(ClusterState state)

        The current state of the cluster.

        Parameters:
        state - The current state of the cluster.
        See Also:
        ClusterState
      • withState

        public ClusterStatus withState(ClusterState state)

        The current state of the cluster.

        Parameters:
        state - The current state of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClusterState
      • setStateChangeReason

        public void setStateChangeReason(ClusterStateChangeReason stateChangeReason)

        The reason for the cluster status change.

        Parameters:
        stateChangeReason - The reason for the cluster status change.
      • getStateChangeReason

        public ClusterStateChangeReason getStateChangeReason()

        The reason for the cluster status change.

        Returns:
        The reason for the cluster status change.
      • withStateChangeReason

        public ClusterStatus withStateChangeReason(ClusterStateChangeReason stateChangeReason)

        The reason for the cluster status change.

        Parameters:
        stateChangeReason - The reason for the cluster status change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTimeline

        public void setTimeline(ClusterTimeline timeline)

        A timeline that represents the status of a cluster over the lifetime of the cluster.

        Parameters:
        timeline - A timeline that represents the status of a cluster over the lifetime of the cluster.
      • getTimeline

        public ClusterTimeline getTimeline()

        A timeline that represents the status of a cluster over the lifetime of the cluster.

        Returns:
        A timeline that represents the status of a cluster over the lifetime of the cluster.
      • withTimeline

        public ClusterStatus withTimeline(ClusterTimeline timeline)

        A timeline that represents the status of a cluster over the lifetime of the cluster.

        Parameters:
        timeline - A timeline that represents the status of a cluster over the lifetime of the cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getErrorDetails

        public List<ErrorDetail> getErrorDetails()

        A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.

        Returns:
        A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.
      • setErrorDetails

        public void setErrorDetails(Collection<ErrorDetail> errorDetails)

        A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.

        Parameters:
        errorDetails - A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.
      • withErrorDetails

        public ClusterStatus withErrorDetails(ErrorDetail... errorDetails)

        A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.

        NOTE: This method appends the values to the existing list (if any). Use setErrorDetails(java.util.Collection) or withErrorDetails(java.util.Collection) if you want to override the existing values.

        Parameters:
        errorDetails - A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withErrorDetails

        public ClusterStatus withErrorDetails(Collection<ErrorDetail> errorDetails)

        A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.

        Parameters:
        errorDetails - A list of tuples that provides information about the errors that caused a cluster to terminate. This structure can contain up to 10 different ErrorDetail tuples.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /