Class AddAssignmentRequest.Builder
- Object
-
- Builder
-
- Enclosing class:
- AddAssignmentRequest
public static final class AddAssignmentRequest.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AddAssignmentRequest.Builder
articulationRules(List<ArticulationRuleRequest> articulationRules)
The list of the articulation rules.AddAssignmentRequest.Builder
assetTypeId(@NotNull UUID assetTypeId)
Required. The ID of the asset type corresponding to the assignment.AddAssignmentRequest
build()
AddAssignmentRequest.Builder
but()
Deprecated.This method will be removed in the future.AddAssignmentRequest.Builder
characteristicTypes(List<CharacteristicTypeAssignmentReference> characteristicTypes)
The list of the references to characteristic types corresponding to the assignment.AddAssignmentRequest.Builder
dataQualityRuleIds(List<UUID> dataQualityRuleIds)
Deprecated.The list of data quality rule IDs will be removed from the next major release.AddAssignmentRequest.Builder
defaultStatusId(@NotNull UUID defaultStatusId)
Required. The ID of the default status for the asset type.AddAssignmentRequest.Builder
domainTypeIds(List<UUID> domainTypeIds)
The list of IDs of the domain types.AddAssignmentRequest.Builder
id(UUID id)
The ID of the new assignment.AddAssignmentRequest.Builder
scopeId(UUID scopeId)
The ID of the scope the assignment corresponds to.AddAssignmentRequest.Builder
statusIds(@NotNull List<UUID> statusIds)
Required. The list of IDs of the statuses.String
toString()
AddAssignmentRequest.Builder
validationRuleIds(List<UUID> validationRuleIds)
The list of IDs of the validation rules.
-
-
-
Method Detail
-
but
@Deprecated public AddAssignmentRequest.Builder but()
Deprecated.This method will be removed in the future. Please, useAddAssignmentRequest.builder()
Clone method for this Builder.
-
id
public AddAssignmentRequest.Builder id(UUID id)
The ID of the new assignment.- Returns:
this
.
-
assetTypeId
public AddAssignmentRequest.Builder assetTypeId(@NotNull @NotNull UUID assetTypeId)
Required. The ID of the asset type corresponding to the assignment.- Returns:
this
.
-
statusIds
public AddAssignmentRequest.Builder statusIds(@NotNull @NotNull List<UUID> statusIds)
Required. The list of IDs of the statuses.- Returns:
this
.
-
characteristicTypes
public AddAssignmentRequest.Builder characteristicTypes(List<CharacteristicTypeAssignmentReference> characteristicTypes)
The list of the references to characteristic types corresponding to the assignment.- Returns:
this
.
-
articulationRules
public AddAssignmentRequest.Builder articulationRules(List<ArticulationRuleRequest> articulationRules)
The list of the articulation rules.- Returns:
this
.
-
validationRuleIds
public AddAssignmentRequest.Builder validationRuleIds(List<UUID> validationRuleIds)
The list of IDs of the validation rules.- Returns:
this
.
-
dataQualityRuleIds
@Deprecated public AddAssignmentRequest.Builder dataQualityRuleIds(List<UUID> dataQualityRuleIds)
Deprecated.The list of data quality rule IDs will be removed from the next major release.The list of IDs of the data quality rules.- Returns:
this
.
-
domainTypeIds
public AddAssignmentRequest.Builder domainTypeIds(List<UUID> domainTypeIds)
The list of IDs of the domain types.- Returns:
this
.
-
defaultStatusId
public AddAssignmentRequest.Builder defaultStatusId(@NotNull @NotNull UUID defaultStatusId)
Required. The ID of the default status for the asset type.- Returns:
this
.
-
scopeId
public AddAssignmentRequest.Builder scopeId(UUID scopeId)
The ID of the scope the assignment corresponds to.- Returns:
this
.
-
build
public AddAssignmentRequest build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-