public final class OptionalClaim extends Object
| Constructor and Description |
|---|
OptionalClaim() |
| Modifier and Type | Method and Description |
|---|---|
Object |
additionalProperties()
Get the additionalProperties property: Any object.
|
Boolean |
essential()
Get the essential property: Is this a required claim.
|
String |
name()
Get the name property: Claim name.
|
String |
source()
Get the source property: Claim source.
|
void |
validate()
Validates the instance.
|
OptionalClaim |
withAdditionalProperties(Object additionalProperties)
Set the additionalProperties property: Any object.
|
OptionalClaim |
withEssential(Boolean essential)
Set the essential property: Is this a required claim.
|
OptionalClaim |
withName(String name)
Set the name property: Claim name.
|
OptionalClaim |
withSource(String source)
Set the source property: Claim source.
|
public String name()
public OptionalClaim withName(String name)
name - the name value to set.public String source()
public OptionalClaim withSource(String source)
source - the source value to set.public Boolean essential()
public OptionalClaim withEssential(Boolean essential)
essential - the essential value to set.public Object additionalProperties()
public OptionalClaim withAdditionalProperties(Object additionalProperties)
additionalProperties - the additionalProperties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.