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 KeyValue

    • Constructor Detail

      • KeyValue

        public KeyValue()
        Default constructor for KeyValue object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • KeyValue

        public KeyValue(String key,
         String value)
        Constructs a new KeyValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        key - The unique identifier of a key-value pair.
        value - The value part of the identified key.
    • Method Detail

      • setKey

        public void setKey(String key)

        The unique identifier of a key-value pair.

        Parameters:
        key - The unique identifier of a key-value pair.
      • getKey

        public String getKey()

        The unique identifier of a key-value pair.

        Returns:
        The unique identifier of a key-value pair.
      • withKey

        public KeyValue withKey(String key)

        The unique identifier of a key-value pair.

        Parameters:
        key - The unique identifier of a key-value pair.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue(String value)

        The value part of the identified key.

        Parameters:
        value - The value part of the identified key.
      • getValue

        public String getValue()

        The value part of the identified key.

        Returns:
        The value part of the identified key.
      • withValue

        public KeyValue withValue(String value)

        The value part of the identified key.

        Parameters:
        value - The value part of the identified key.
        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 によって変換されたページ (->オリジナル) /