UserProperty Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. UserProperty
- com.
Implements
public final class UserProperty
implements JsonSerializable<UserProperty>
User property.
Constructor Summary
Constructor | Description |
---|---|
UserProperty() |
Creates an instance of User |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
User |
fromJson(JsonReader jsonReader)
Reads an instance of User |
String |
name()
Get the name property: User property name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Object |
value()
Get the value property: User property value. |
User |
withName(String name)
Set the name property: User property name. |
User |
withValue(Object value)
Set the value property: User property value. |
Methods inherited from java.lang.Object
Constructor Details
UserProperty
public UserProperty()
Creates an instance of UserProperty class.
Method Details
fromJson
public static UserProperty fromJson(JsonReader jsonReader)
Reads an instance of UserProperty from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: User property name.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public Object value()
Get the value property: User property value. Type: string (or Expression with resultType string).
Returns:
withName
public UserProperty withName(String name)
Set the name property: User property name.
Parameters:
Returns:
withValue
public UserProperty withValue(Object value)
Set the value property: User property value. Type: string (or Expression with resultType string).
Parameters:
Returns:
Applies to
Azure SDK for Java