Class ImportOfferingOptions.Builder

  • Enclosing class:
    ImportOfferingOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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

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

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

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

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

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

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

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

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

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