Class AddAttachmentRequest.Builder

  • Enclosing class:
    AddAttachmentRequest

    public static final class AddAttachmentRequest.Builder
    extends Object
    • Method Detail

      • baseResourceId

        public AddAttachmentRequest.Builder baseResourceId​(UUID baseResourceId)
        Sets the ID of the resource which the new attachment should be attached to. This is a convenience method for setting base resource ID.
        Parameters:
        baseResourceId - the ID of the resource which the new attachment should be attached to
      • baseResourceType

        public AddAttachmentRequest.Builder baseResourceType​(ResourceType baseResourceType)
        Sets the type of the resource which the new attachment should be attached to. This is a convenience method for setting base resource type.
        Parameters:
        baseResourceType - the type of the resource which the new attachment should be attached to
      • baseResource

        public AddAttachmentRequest.Builder baseResource​(@NotNull
                                                         @NotNull ResourceReference baseResource)
        Required. The reference to the resource new attachment should be attached to. An attachment can be added on those resource types: User, Community, Domain, Asset, Role, ValidationRule, Workflow.
        Returns:
        this.
      • toString

        public String toString()
        Overrides:
        toString in class Object