Class ImportOfferingVersionOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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

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

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

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

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

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

        public ImportOfferingVersionOptions.Builder includeConfig​(java.lang.Boolean includeConfig)
        Set the includeConfig.
        Parameters:
        includeConfig - the includeConfig
        Returns:
        the ImportOfferingVersionOptions builder
      • isVsi

        public ImportOfferingVersionOptions.Builder isVsi​(java.lang.Boolean isVsi)
        Set the isVsi.
        Parameters:
        isVsi - the isVsi
        Returns:
        the ImportOfferingVersionOptions builder
      • repoType

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