Interface BucketBundle.Builder

    • Method Detail

      • bundleId

        BucketBundle.Builder bundleId​(String bundleId)

        The ID of the bundle.

        Parameters:
        bundleId - The ID of the bundle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        BucketBundle.Builder name​(String name)

        The name of the bundle.

        Parameters:
        name - The name of the bundle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • price

        BucketBundle.Builder price​(Float price)

        The monthly price of the bundle, in US dollars.

        Parameters:
        price - The monthly price of the bundle, in US dollars.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storagePerMonthInGb

        BucketBundle.Builder storagePerMonthInGb​(Integer storagePerMonthInGb)

        The storage size of the bundle, in GB.

        Parameters:
        storagePerMonthInGb - The storage size of the bundle, in GB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • transferPerMonthInGb

        BucketBundle.Builder transferPerMonthInGb​(Integer transferPerMonthInGb)

        The monthly network transfer quota of the bundle.

        Parameters:
        transferPerMonthInGb - The monthly network transfer quota of the bundle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isActive

        BucketBundle.Builder isActive​(Boolean isActive)

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

        Parameters:
        isActive - Indicates whether the bundle is active. Use for a new or existing bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.