Class UpdateProfileOptions.Builder

  • Enclosing class:
    UpdateProfileOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public UpdateProfileOptions build()
        Builds a UpdateProfileOptions.
        Returns:
        the new UpdateProfileOptions instance
      • addNewAnnotators

        public UpdateProfileOptions.Builder addNewAnnotators​(Annotator newAnnotators)
        Adds an newAnnotators to newAnnotators.
        Parameters:
        newAnnotators - the new newAnnotators
        Returns:
        the UpdateProfileOptions builder
      • id

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

        public UpdateProfileOptions.Builder newId​(java.lang.String newId)
        Set the newId.
        Parameters:
        newId - the newId
        Returns:
        the UpdateProfileOptions builder
      • newName

        public UpdateProfileOptions.Builder newName​(java.lang.String newName)
        Set the newName.
        Parameters:
        newName - the newName
        Returns:
        the UpdateProfileOptions builder
      • newDescription

        public UpdateProfileOptions.Builder newDescription​(java.lang.String newDescription)
        Set the newDescription.
        Parameters:
        newDescription - the newDescription
        Returns:
        the UpdateProfileOptions builder
      • newPublishedDate

        public UpdateProfileOptions.Builder newPublishedDate​(java.lang.String newPublishedDate)
        Set the newPublishedDate.
        Parameters:
        newPublishedDate - the newPublishedDate
        Returns:
        the UpdateProfileOptions builder
      • newPublish

        public UpdateProfileOptions.Builder newPublish​(java.lang.Boolean newPublish)
        Set the newPublish.
        Parameters:
        newPublish - the newPublish
        Returns:
        the UpdateProfileOptions builder
      • newVersion

        public UpdateProfileOptions.Builder newVersion​(java.lang.String newVersion)
        Set the newVersion.
        Parameters:
        newVersion - the newVersion
        Returns:
        the UpdateProfileOptions builder
      • newCartridgeId

        public UpdateProfileOptions.Builder newCartridgeId​(java.lang.String newCartridgeId)
        Set the newCartridgeId.
        Parameters:
        newCartridgeId - the newCartridgeId
        Returns:
        the UpdateProfileOptions builder
      • newAnnotators

        public UpdateProfileOptions.Builder newAnnotators​(java.util.List<Annotator> newAnnotators)
        Set the newAnnotators. Existing newAnnotators will be replaced.
        Parameters:
        newAnnotators - the newAnnotators
        Returns:
        the UpdateProfileOptions builder
      • acdProfile

        public UpdateProfileOptions.Builder acdProfile​(AcdProfile acdProfile)
        Set the acdProfile.
        Parameters:
        acdProfile - the acdProfile
        Returns:
        the UpdateProfileOptions builder