Class DeprecateOfferingOptions.Builder

  • Enclosing class:
    DeprecateOfferingOptions

    public static class DeprecateOfferingOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String catalogIdentifier,
                       java.lang.String offeringId,
                       java.lang.String setting)
        Instantiates a new builder with required properties.
        Parameters:
        catalogIdentifier - the catalogIdentifier
        offeringId - the offeringId
        setting - the setting
    • Method Detail

      • build

        public DeprecateOfferingOptions build()
        Builds a DeprecateOfferingOptions.
        Returns:
        the new DeprecateOfferingOptions instance
      • catalogIdentifier

        public DeprecateOfferingOptions.Builder catalogIdentifier​(java.lang.String catalogIdentifier)
        Set the catalogIdentifier.
        Parameters:
        catalogIdentifier - the catalogIdentifier
        Returns:
        the DeprecateOfferingOptions builder
      • offeringId

        public DeprecateOfferingOptions.Builder offeringId​(java.lang.String offeringId)
        Set the offeringId.
        Parameters:
        offeringId - the offeringId
        Returns:
        the DeprecateOfferingOptions builder
      • setting

        public DeprecateOfferingOptions.Builder setting​(java.lang.String setting)
        Set the setting.
        Parameters:
        setting - the setting
        Returns:
        the DeprecateOfferingOptions builder
      • description

        public DeprecateOfferingOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the DeprecateOfferingOptions builder
      • daysUntilDeprecate

        public DeprecateOfferingOptions.Builder daysUntilDeprecate​(long daysUntilDeprecate)
        Set the daysUntilDeprecate.
        Parameters:
        daysUntilDeprecate - the daysUntilDeprecate
        Returns:
        the DeprecateOfferingOptions builder