UserProperty Class

  • java.lang.Object
    • com.azure.resourcemanager.datafactory.models.UserProperty

Implements

public final class UserProperty
implements JsonSerializable<UserProperty>

User property.

Constructor Summary

Constructor Description
UserProperty()

Creates an instance of UserProperty class.

Method Summary

Modifier and Type Method and Description
static UserProperty fromJson(JsonReader jsonReader)

Reads an instance of UserProperty from the JsonReader.

String name()

Get the name property: User property name.

JsonWriter toJson(JsonWriter jsonWriter)
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.

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:

jsonReader - The JsonReader being read.

Returns:

An instance of UserProperty if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

name

public String name()

Get the name property: User property name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

the value value.

withName

public UserProperty withName(String name)

Set the name property: User property name.

Parameters:

name - the name value to set.

Returns:

the UserProperty object itself.

withValue

public UserProperty withValue(Object value)

Set the value property: User property value. Type: string (or Expression with resultType string).

Parameters:

value - the value value to set.

Returns:

the UserProperty object itself.

Applies to