Class BucketBundle

    • Method Detail

      • bundleId

        public final String bundleId()

        The ID of the bundle.

        Returns:
        The ID of the bundle.
      • name

        public final String name()

        The name of the bundle.

        Returns:
        The name of the bundle.
      • price

        public final Float price()

        The monthly price of the bundle, in US dollars.

        Returns:
        The monthly price of the bundle, in US dollars.
      • storagePerMonthInGb

        public final Integer storagePerMonthInGb()

        The storage size of the bundle, in GB.

        Returns:
        The storage size of the bundle, in GB.
      • transferPerMonthInGb

        public final Integer transferPerMonthInGb()

        The monthly network transfer quota of the bundle.

        Returns:
        The monthly network transfer quota of the bundle.
      • isActive

        public final Boolean isActive()

        Indicates whether the bundle is active. Use for a new or existing bucket.

        Returns:
        Indicates whether the bundle is active. Use for a new or existing bucket.
      • 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)