Class AddAssetRequest.Builder

  • Enclosing class:
    AddAssetRequest

    public static class AddAssetRequest.Builder
    extends Object
    • Method Detail

      • status

        @Deprecated
        public AddAssetRequest.Builder status​(UUID statusId)
        Deprecated.
        This method will be removed in the future. Please use statusId(UUID)
        Sets the ID of the status of the new asset.
        Parameters:
        statusId - the ID of the status of the new asset
      • name

        public AddAssetRequest.Builder name​(@NotNull
                                            @NotNull String name)
        Required. The full name of the new asset. Should be unique within the domain.
        Returns:
        this.
      • displayName

        public AddAssetRequest.Builder displayName​(String displayName)
        The display name of the new asset.
        Returns:
        this.
      • domainId

        public AddAssetRequest.Builder domainId​(@NotNull
                                                @NotNull UUID domainId)
        Required. The ID of the domain that the new asset should be added to.
        Returns:
        this.
      • typeId

        public AddAssetRequest.Builder typeId​(@NotNull
                                              @NotNull UUID typeId)
        Required. The ID of the asset type of the new asset.
        Returns:
        this.
      • statusId

        public AddAssetRequest.Builder statusId​(UUID statusId)
        The ID of the status of the new asset.
        Returns:
        this.
      • excludedFromAutoHyperlinking

        public AddAssetRequest.Builder excludedFromAutoHyperlinking​(Boolean excludedFromAutoHyperlinking)
        Whether or not to exclude the new asset from auto hyperlinking.
        Returns:
        this.
      • toString

        public String toString()
        Overrides:
        toString in class Object