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 InstanceStateChangeReason

    • Constructor Detail

      • InstanceStateChangeReason

        public InstanceStateChangeReason()
    • Method Detail

      • setCode

        public void setCode(String code)

        The programmable code for the state change reason.

        Parameters:
        code - The programmable code for the state change reason.
        See Also:
        InstanceStateChangeReasonCode
      • getCode

        public String getCode()

        The programmable code for the state change reason.

        Returns:
        The programmable code for the state change reason.
        See Also:
        InstanceStateChangeReasonCode
      • withCode

        public InstanceStateChangeReason withCode(String code)

        The programmable code for the state change reason.

        Parameters:
        code - The programmable code for the state change reason.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceStateChangeReasonCode
      • setMessage

        public void setMessage(String message)

        The status change reason description.

        Parameters:
        message - The status change reason description.
      • getMessage

        public String getMessage()

        The status change reason description.

        Returns:
        The status change reason description.
      • withMessage

        public InstanceStateChangeReason withMessage(String message)

        The status change reason description.

        Parameters:
        message - The status change reason description.
        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 によって変換されたページ (->オリジナル) /