Class AddAssetTypeRequest.Builder
Object
Builder
- Enclosing class:
AddAssetTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionacronymCode(String acronymCode) A code representing the acronym that should be shown.build()but()Deprecated.This method will be removed in the future.The color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits).description(String description) The description of the new Asset Type.displayNameEnabled(boolean displayNameEnabled) Required. Whether the display name should be enabled for all Assets of the type being created.The icon code, a code representing the icon that should be shown.The UUID that will be assigned to the new Asset Type.Required. The name of the new Asset Type.The ID of the parent for the new Asset Type.The public id that will be assigned to the new Asset Type.ratingEnabled(boolean ratingEnabled) Required. Whether ratings should be enabled for all Assets of the type being created.symbolType(AssetTypeSymbolType symbolType) Required. The symbol type.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useAddAssetTypeRequest.builder().Clone method for this Builder. -
id
The UUID that will be assigned to the new Asset Type.The UUID should be unique within all Asset Types, and should not start with
00000000-0000-0000-which is a reserved prefix.- Returns:
this.
-
publicId
The public id that will be assigned to the new Asset Type.It must be unique within all Asset Types, Complex Relation Types, Domain Types and Scopes. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
- Returns:
this.
-
name
Required. The name of the new Asset Type. Should be unique within all Asset Types.- Returns:
this.
-
description
The description of the new Asset Type.- Returns:
this.
-
color
The color of the symbol in hex format (starting with '#' followed by either 3 or 6 hex digits).- Returns:
this.
-
symbolType
Required. The symbol type.- Returns:
this.
-
iconCode
The icon code, a code representing the icon that should be shown.- Returns:
this.
-
acronymCode
A code representing the acronym that should be shown. Must have at least 1 and at most 4 alphanumeric characters.- Returns:
this.
-
parentId
The ID of the parent for the new Asset Type.- Returns:
this.
-
displayNameEnabled
Required. Whether the display name should be enabled for all Assets of the type being created.- Returns:
this.
-
ratingEnabled
Required. Whether ratings should be enabled for all Assets of the type being created.- Returns:
this.
-
build
-
toString
-