Interface LongTermPricingListEntry.Builder

    • Method Detail

      • longTermPricingId

        LongTermPricingListEntry.Builder longTermPricingId​(String longTermPricingId)

        The ID of the long-term pricing type for the device.

        Parameters:
        longTermPricingId - The ID of the long-term pricing type for the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longTermPricingEndDate

        LongTermPricingListEntry.Builder longTermPricingEndDate​(Instant longTermPricingEndDate)

        The end date the long-term pricing contract.

        Parameters:
        longTermPricingEndDate - The end date the long-term pricing contract.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longTermPricingStartDate

        LongTermPricingListEntry.Builder longTermPricingStartDate​(Instant longTermPricingStartDate)

        The start date of the long-term pricing contract.

        Parameters:
        longTermPricingStartDate - The start date of the long-term pricing contract.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longTermPricingType

        LongTermPricingListEntry.Builder longTermPricingType​(String longTermPricingType)

        The type of long-term pricing that was selected for the device.

        Parameters:
        longTermPricingType - The type of long-term pricing that was selected for the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LongTermPricingType, LongTermPricingType
      • currentActiveJob

        LongTermPricingListEntry.Builder currentActiveJob​(String currentActiveJob)

        The current active jobs on the device the long-term pricing type.

        Parameters:
        currentActiveJob - The current active jobs on the device the long-term pricing type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replacementJob

        LongTermPricingListEntry.Builder replacementJob​(String replacementJob)

        A new device that replaces a device that is ordered with long-term pricing.

        Parameters:
        replacementJob - A new device that replaces a device that is ordered with long-term pricing.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isLongTermPricingAutoRenew

        LongTermPricingListEntry.Builder isLongTermPricingAutoRenew​(Boolean isLongTermPricingAutoRenew)

        If set to true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.

        Parameters:
        isLongTermPricingAutoRenew - If set to true, specifies that the current long-term pricing type for the device should be automatically renewed before the long-term pricing contract expires.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • longTermPricingStatus

        LongTermPricingListEntry.Builder longTermPricingStatus​(String longTermPricingStatus)

        The status of the long-term pricing type.

        Parameters:
        longTermPricingStatus - The status of the long-term pricing type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snowballType

        LongTermPricingListEntry.Builder snowballType​(String snowballType)

        The type of Snow Family devices associated with this long-term pricing job.

        Parameters:
        snowballType - The type of Snow Family devices associated with this long-term pricing job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • snowballType

        LongTermPricingListEntry.Builder snowballType​(SnowballType snowballType)

        The type of Snow Family devices associated with this long-term pricing job.

        Parameters:
        snowballType - The type of Snow Family devices associated with this long-term pricing job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SnowballType, SnowballType
      • jobIds

        LongTermPricingListEntry.Builder jobIds​(Collection<String> jobIds)

        The IDs of the jobs that are associated with a long-term pricing type.

        Parameters:
        jobIds - The IDs of the jobs that are associated with a long-term pricing type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobIds

        LongTermPricingListEntry.Builder jobIds​(String... jobIds)

        The IDs of the jobs that are associated with a long-term pricing type.

        Parameters:
        jobIds - The IDs of the jobs that are associated with a long-term pricing type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.