Class AddRelationTypeRequest.Builder
Object
Builder
- Enclosing class:
AddRelationTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()but()Deprecated.This method will be removed in the future.Required. The name of the role that the target plays.description(String description) The description of the Relation Type.The ID of the new Relation Type.The public id that will be assigned to the new Relation Type.Required. The name of the role that the source plays.sourceTypeId(UUID sourceTypeId) Required. The ID of the source type for the new Relation Type.targetTypeId(UUID targetTypeId) Required. The ID of the source type for the new Relation Type.toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useAddRelationTypeRequest.builder().Clone method for this Builder. -
id
The ID of the new Relation Type. Should be unique within all Relation Types.It should have a format of universally unique identifier (UUID) 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 Relation Type.It must be unique within all Relation Types. 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.
-
sourceTypeId
Required. The ID of the source type for the new Relation Type.- Returns:
this.
-
role
Required. The name of the role that the source plays.- Returns:
this.
-
targetTypeId
Required. The ID of the source type for the new Relation Type.- Returns:
this.
-
coRole
Required. The name of the role that the target plays.- Returns:
this.
-
description
The description of the Relation Type.- Returns:
this.
-
build
-
toString
-