Class AddComplexRelationTypeRequest.Builder
Object
Builder
- Enclosing class:
AddComplexRelationTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionacronymCode(String acronymCode) The acronym code of the new Complex Relation Type.attributeTypes(List<ComplexRelationAttributeTypeRequest> attributeTypes) The list of attribute types for the new Complex Relation Type.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 description of the new Complex Relation Type.The icon code of the new Complex Relation Type.The ID of the new Complex Relation Type.legTypes(List<ComplexRelationLegTypeRequest> legTypes) Required. The list of leg types for the new Complex Relation Type.Required. The name of the new Complex Relation Type.The public id that will be assigned to the new Complex Relation Type.symbolType(AssetTypeSymbolType symbolType) Required. The symbol type.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useAddComplexRelationTypeRequest.builder()Clone method for this Builder. -
id
The ID of the new Complex Relation Type. Should be unique within all Complex Relation Types. It should have a format of universally unique identifier (UUID) and should not start with00000000-0000-0000-which is a reserved prefix.- Returns:
this.
-
publicId
The public id that will be assigned to the new Complex Relation 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 Complex Relation Type. Should be unique within all Complex Relation Types.- Returns:
this.
-
description
The description of the new Complex Relation 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
Required. The symbol type.- Returns:
this.
-
iconCode
The icon code of the new Complex Relation Type.- Returns:
this.
-
acronymCode
The acronym code of the new Complex Relation Type.- Returns:
this.
-
attributeTypes
public AddComplexRelationTypeRequest.Builder attributeTypes(List<ComplexRelationAttributeTypeRequest> attributeTypes) The list of attribute types for the new Complex Relation Type.- Returns:
this.
-
legTypes
Required. The list of leg types for the new Complex Relation Type. At least one leg should be specified- Returns:
this.
-
build
-
toString
-