Class ReloadOfferingOptions.Builder

  • Enclosing class:
    ReloadOfferingOptions

    public static class ReloadOfferingOptions.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 targetVersion)
        Instantiates a new builder with required properties.
        Parameters:
        catalogIdentifier - the catalogIdentifier
        offeringId - the offeringId
        targetVersion - the targetVersion
    • Method Detail

      • build

        public ReloadOfferingOptions build()
        Builds a ReloadOfferingOptions.
        Returns:
        the new ReloadOfferingOptions instance
      • addTags

        public ReloadOfferingOptions.Builder addTags​(java.lang.String tags)
        Adds an tags to tags.
        Parameters:
        tags - the new tags
        Returns:
        the ReloadOfferingOptions builder
      • addTargetKinds

        public ReloadOfferingOptions.Builder addTargetKinds​(java.lang.String targetKinds)
        Adds an targetKinds to targetKinds.
        Parameters:
        targetKinds - the new targetKinds
        Returns:
        the ReloadOfferingOptions builder
      • catalogIdentifier

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

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

        public ReloadOfferingOptions.Builder targetVersion​(java.lang.String targetVersion)
        Set the targetVersion.
        Parameters:
        targetVersion - the targetVersion
        Returns:
        the ReloadOfferingOptions builder
      • tags

        public ReloadOfferingOptions.Builder tags​(java.util.List<java.lang.String> tags)
        Set the tags. Existing tags will be replaced.
        Parameters:
        tags - the tags
        Returns:
        the ReloadOfferingOptions builder
      • targetKinds

        public ReloadOfferingOptions.Builder targetKinds​(java.util.List<java.lang.String> targetKinds)
        Set the targetKinds. Existing targetKinds will be replaced.
        Parameters:
        targetKinds - the targetKinds
        Returns:
        the ReloadOfferingOptions builder
      • content

        public ReloadOfferingOptions.Builder content​(byte[] content)
        Set the content.
        Parameters:
        content - the content
        Returns:
        the ReloadOfferingOptions builder
      • zipurl

        public ReloadOfferingOptions.Builder zipurl​(java.lang.String zipurl)
        Set the zipurl.
        Parameters:
        zipurl - the zipurl
        Returns:
        the ReloadOfferingOptions builder
      • repoType

        public ReloadOfferingOptions.Builder repoType​(java.lang.String repoType)
        Set the repoType.
        Parameters:
        repoType - the repoType
        Returns:
        the ReloadOfferingOptions builder