public final class UserProperty extends Object
| Constructor and Description |
|---|
UserProperty() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: User property name.
|
void |
validate()
Validates the instance.
|
Object |
value()
Get the value property: User property value.
|
UserProperty |
withName(String name)
Set the name property: User property name.
|
UserProperty |
withValue(Object value)
Set the value property: User property value.
|
public String name()
public UserProperty withName(String name)
name - the name value to set.public Object value()
public UserProperty withValue(Object value)
value - the value value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.