Class WebAppUnits

    • Method Detail

      • provisioned

        public final Integer provisioned()

        An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.

        Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on.

        Returns:
        An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.

        Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on.

      • 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)
      • fromProvisioned

        public static WebAppUnits fromProvisioned​(Integer provisioned)
        Create an instance of this class with provisioned() initialized to the given value.

        An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.

        Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on.

        Parameters:
        provisioned - An integer that represents the number of units for your desired number of concurrent connections, or the number of user sessions on your web app at the same time.

        Each increment allows an additional 250 concurrent sessions: a value of 1 sets the number of concurrent sessions to 250; 2 sets a value of 500, and so on.