Class AddAssetRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddAssetRequest
public static class AddAssetRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddAssetRequest
build()
AddAssetRequest.Builder
but()
Deprecated.This method will be removed in the future.AddAssetRequest.Builder
displayName(String displayName)
The display name of the new asset.AddAssetRequest.Builder
domainId(@NotNull UUID domainId)
Required. The ID of the domain that the new asset should be added to.AddAssetRequest.Builder
excludedFromAutoHyperlinking(Boolean excludedFromAutoHyperlinking)
Whether or not to exclude the new asset from auto hyperlinking.AddAssetRequest.Builder
id(UUID id)
The ID of the new asset.AddAssetRequest.Builder
name(@NotNull String name)
Required. The full name of the new asset.AddAssetRequest.Builder
status(UUID statusId)
Deprecated.This method will be removed in the future.AddAssetRequest.Builder
statusId(UUID statusId)
The ID of the status of the new asset.String
toString()
AddAssetRequest.Builder
typeId(@NotNull UUID typeId)
Required. The ID of the asset type of the new asset.
-
-
-
Method Detail
-
status
@Deprecated public AddAssetRequest.Builder status(UUID statusId)
Deprecated.This method will be removed in the future. Please usestatusId(UUID)
Sets the ID of the status of the new asset.- Parameters:
statusId
- the ID of the status of the new asset
-
but
@Deprecated public AddAssetRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddAssetRequest.builder()
Clone method for this Builder.
-
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
.
-
id
public AddAssetRequest.Builder id(UUID id)
The ID 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
.
-
build
public AddAssetRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-