Class CreateObjectOptions.Builder

  • Enclosing class:
    CreateObjectOptions

    public static class CreateObjectOptions.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 CreateObjectOptions build()
        Builds a CreateObjectOptions.
        Returns:
        the new CreateObjectOptions instance
      • addTags

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

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

        public CreateObjectOptions.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the CreateObjectOptions builder
      • name

        public CreateObjectOptions.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the CreateObjectOptions builder
      • rev

        public CreateObjectOptions.Builder rev​(java.lang.String rev)
        Set the rev.
        Parameters:
        rev - the rev
        Returns:
        the CreateObjectOptions builder
      • crn

        public CreateObjectOptions.Builder crn​(java.lang.String crn)
        Set the crn.
        Parameters:
        crn - the crn
        Returns:
        the CreateObjectOptions builder
      • url

        public CreateObjectOptions.Builder url​(java.lang.String url)
        Set the url.
        Parameters:
        url - the url
        Returns:
        the CreateObjectOptions builder
      • parentId

        public CreateObjectOptions.Builder parentId​(java.lang.String parentId)
        Set the parentId.
        Parameters:
        parentId - the parentId
        Returns:
        the CreateObjectOptions builder
      • labelI18n

        public CreateObjectOptions.Builder labelI18n​(java.lang.String labelI18n)
        Set the labelI18n.
        Parameters:
        labelI18n - the labelI18n
        Returns:
        the CreateObjectOptions builder
      • label

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

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

        public CreateObjectOptions.Builder created​(java.util.Date created)
        Set the created.
        Parameters:
        created - the created
        Returns:
        the CreateObjectOptions builder
      • updated

        public CreateObjectOptions.Builder updated​(java.util.Date updated)
        Set the updated.
        Parameters:
        updated - the updated
        Returns:
        the CreateObjectOptions builder
      • shortDescription

        public CreateObjectOptions.Builder shortDescription​(java.lang.String shortDescription)
        Set the shortDescription.
        Parameters:
        shortDescription - the shortDescription
        Returns:
        the CreateObjectOptions builder
      • shortDescriptionI18n

        public CreateObjectOptions.Builder shortDescriptionI18n​(java.lang.String shortDescriptionI18n)
        Set the shortDescriptionI18n.
        Parameters:
        shortDescriptionI18n - the shortDescriptionI18n
        Returns:
        the CreateObjectOptions builder
      • kind

        public CreateObjectOptions.Builder kind​(java.lang.String kind)
        Set the kind.
        Parameters:
        kind - the kind
        Returns:
        the CreateObjectOptions builder
      • catalogId

        public CreateObjectOptions.Builder catalogId​(java.lang.String catalogId)
        Set the catalogId.
        Parameters:
        catalogId - the catalogId
        Returns:
        the CreateObjectOptions builder
      • catalogName

        public CreateObjectOptions.Builder catalogName​(java.lang.String catalogName)
        Set the catalogName.
        Parameters:
        catalogName - the catalogName
        Returns:
        the CreateObjectOptions builder
      • data

        public CreateObjectOptions.Builder data​(java.util.Map<java.lang.String,​java.lang.Object> data)
        Set the data.
        Parameters:
        data - the data
        Returns:
        the CreateObjectOptions builder
      • catalogObject

        public CreateObjectOptions.Builder catalogObject​(CatalogObject catalogObject)
        Set the catalogObject.
        Parameters:
        catalogObject - the catalogObject
        Returns:
        the CreateObjectOptions builder