Class ModifyingProperties

    • Method Detail

      • name

        public final String name()

        The name of the property that is currently being modified.

        Returns:
        The name of the property that is currently being modified.
      • activeValue

        public final String activeValue()

        The current value of the domain property that is being modified.

        Returns:
        The current value of the domain property that is being modified.
      • pendingValue

        public final String pendingValue()

        The value that the property that is currently being modified will eventually have.

        Returns:
        The value that the property that is currently being modified will eventually have.
      • valueType

        public final PropertyValueType valueType()

        The type of value that is currently being modified. Properties can have two types:

        • PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
        • STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".

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

        Returns:
        The type of value that is currently being modified. Properties can have two types:

        • PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
        • STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
        See Also:
        PropertyValueType
      • valueTypeAsString

        public final String valueTypeAsString()

        The type of value that is currently being modified. Properties can have two types:

        • PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
        • STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".

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

        Returns:
        The type of value that is currently being modified. Properties can have two types:

        • PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search".
        • STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
        See Also:
        PropertyValueType
      • 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)