public static class Entitlement.Builder extends MultiValuedAttribute.Builder
Entitlement instances| Constructor and Description |
|---|
Builder() |
Builder(Entitlement entitlement)
builds an Builder based of the given Attribute
|
| Modifier and Type | Method and Description |
|---|---|
Entitlement |
build()
Builds a new Attribute with the given parameters
|
Entitlement.Builder |
setDisplay(String display)
Sets the human readable name (See
MultiValuedAttribute.getDisplay()). |
Entitlement.Builder |
setOperation(String operation)
Sets the operation (See
MultiValuedAttribute.getOperation()). |
Entitlement.Builder |
setPrimary(Boolean primary)
Sets the primary attribute (See
MultiValuedAttribute.isPrimary()). |
Entitlement.Builder |
setType(Entitlement.Type type)
Sets the label indicating the attribute's function (See
Entitlement.getType()}). |
Entitlement.Builder |
setValue(String value)
Sets the attribute's significant value (See
MultiValuedAttribute.getValue()). |
setReferencepublic Builder()
public Builder(Entitlement entitlement)
entitlement - existing Attributepublic Entitlement.Builder setOperation(String operation)
MultiValuedAttribute.BuilderMultiValuedAttribute.getOperation()).
setOperation in class MultiValuedAttribute.Builderoperation - only "delete" is supported at the momentpublic Entitlement.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 Entitlement.Builder setValue(String value)
MultiValuedAttribute.BuilderMultiValuedAttribute.getValue()).setValue in class MultiValuedAttribute.Buildervalue - the value attributepublic Entitlement.Builder setType(Entitlement.Type type)
Entitlement.getType()}).type - the type of the attributepublic Entitlement.Builder setPrimary(Boolean primary)
MultiValuedAttribute.BuilderMultiValuedAttribute.isPrimary()).setPrimary in class MultiValuedAttribute.Builderprimary - indicates if this is the primary attributepublic Entitlement build()
MultiValuedAttribute.Builderbuild in class MultiValuedAttribute.BuilderCopyright © 2022 SAP SE. All rights reserved.