Class ReplaceObjectOptions.Builder

  • Enclosing class:
    ReplaceObjectOptions

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

      • build

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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