public static class Role.Builder extends MultiValuedAttribute.Builder
Role instances| Constructor and Description |
|---|
Builder() |
Builder(Role role)
builds an Builder based of the given Attribute
|
| Modifier and Type | Method and Description |
|---|---|
Role |
build()
Builds a new Attribute with the given parameters
|
Role.Builder |
setDisplay(String display)
Sets the human readable name (See
MultiValuedAttribute.getDisplay()). |
Role.Builder |
setOperation(String operation)
Sets the operation (See
MultiValuedAttribute.getOperation()). |
Role.Builder |
setPrimary(Boolean primary)
Sets the primary attribute (See
MultiValuedAttribute.isPrimary()). |
Role.Builder |
setType(Role.Type type)
Sets the label indicating the attribute's function (See
Role.getType()). |
Role.Builder |
setValue(String value)
Sets the attribute's significant value (See
MultiValuedAttribute.getValue()). |
setReferencepublic Builder()
public Builder(Role role)
role - existing Attributepublic Role.Builder setOperation(String operation)
MultiValuedAttribute.BuilderMultiValuedAttribute.getOperation()).
setOperation in class MultiValuedAttribute.Builderoperation - only "delete" is supported at the momentpublic Role.Builder setDisplay(String display)
MultiValuedAttribute.BuilderMultiValuedAttribute.getDisplay()).
client info: the Display value is set by the OSIAM server. If a MultiValuedAttribute which is send to the OSIAM server has this value filled, the value will be ignored or the action will be rejected.
setDisplay in class MultiValuedAttribute.Builderdisplay - a human readable namepublic Role.Builder setValue(String value)
MultiValuedAttribute.BuilderMultiValuedAttribute.getValue()).setValue in class MultiValuedAttribute.Buildervalue - the value attributepublic Role.Builder setPrimary(Boolean primary)
MultiValuedAttribute.BuilderMultiValuedAttribute.isPrimary()).setPrimary in class MultiValuedAttribute.Builderprimary - indicates if this is the primary attributepublic Role.Builder setType(Role.Type type)
Role.getType()).type - the type of the attributepublic Role build()
MultiValuedAttribute.Builderbuild in class MultiValuedAttribute.BuilderCopyright © 2022 SAP SE. All rights reserved.