Class StateChange.Builder

  • Enclosing class:
    StateChange

    public static class StateChange.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • previous

        public StateChange.Builder previous​(Map<String,​Object> previous)
        Provides the previous state of fields that may have changed during an operation.

        To determine how the current operation changed a resource, compare the information in this attribute to current.

        Parameters:
        previous - the value to set
        Returns:
        this builder
      • current

        public StateChange.Builder current​(Map<String,​Object> current)
        Provides the current state of fields that may have changed during an operation.

        To determine how the current operation changed a resource, compare the information in this attribute to previous.

        Parameters:
        current - the value to set
        Returns:
        this builder