Class ChangeAssetTypeRequest.Builder
Object
Builder
- Enclosing class:
ChangeAssetTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionacronymCode
(String acronymCode) The acronym code, 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 a hex format e.g.description
(String description) The new description for the Asset Type.displayNameEnabled
(Boolean displayNameEnabled) Whether display name should be enabled for all Assets of changed type.The icon code, a code representing the icon that should be shown.Required. The ID of the Asset Type to be changed.The new name for the Asset Type.The ID of the new parent for the Asset Type.The new public id for the Asset Type.ratingEnabled
(Boolean ratingEnabled) Whether rating should be enabled for all Assets of given type.symbolType
(AssetTypeSymbolType symbolType) The symbol type.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useChangeAssetTypeRequest.builder()
.Clone method for this Builder. -
id
Required. The ID of the Asset Type to be changed. Silently ignored if the ID is provided as path parameter of the request.- Returns:
this
.
-
publicId
The new public id for the 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".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable.- Returns:
this
.
-
name
The new name for the Asset Type.- Returns:
this
.
-
description
The new description for the Asset Type.- Returns:
this
.
-
parentId
The ID of the new parent for the Asset Type.- Returns:
this
.
-
color
The color of the symbol, in a hex format e.g. '#000000'. This format always includes the '#' and has a size of 7.- Returns:
this
.
-
symbolType
The symbol type.- Returns:
this
.
-
iconCode
The icon code, a code representing the icon that should be shown.- Returns:
this
.
-
acronymCode
The acronym code, a code representing the acronym that should be shown.- Returns:
this
.
-
displayNameEnabled
Whether display name should be enabled for all Assets of changed type.- Returns:
this
.
-
ratingEnabled
Whether rating should be enabled for all Assets of given type.- Returns:
this
.
-
traitIds
- Returns:
this
.
-
build
-
toString
-