Partager via


DataEffect Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.DataEffect

Implements

public final class DataEffect
implements JsonSerializable<DataEffect>

The data effect definition.

Constructor Summary

Constructor Description
DataEffect()

Creates an instance of DataEffect class.

Method Summary

Modifier and Type Method and Description
Object detailsSchema()

Get the detailsSchema property: The data effect details schema.

static DataEffect fromJson(JsonReader jsonReader)

Reads an instance of DataEffect from the JsonReader.

String name()

Get the name property: The data effect name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DataEffect withDetailsSchema(Object detailsSchema)

Set the detailsSchema property: The data effect details schema.

DataEffect withName(String name)

Set the name property: The data effect name.

Methods inherited from java.lang.Object

Constructor Details

DataEffect

public DataEffect()

Creates an instance of DataEffect class.

Method Details

detailsSchema

public Object detailsSchema()

Get the detailsSchema property: The data effect details schema.

Returns:

the detailsSchema value.

fromJson

public static DataEffect fromJson(JsonReader jsonReader)

Reads an instance of DataEffect from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DataEffect.

name

public String name()

Get the name property: The data effect name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDetailsSchema

public DataEffect withDetailsSchema(Object detailsSchema)

Set the detailsSchema property: The data effect details schema.

Parameters:

detailsSchema - the detailsSchema value to set.

Returns:

the DataEffect object itself.

withName

public DataEffect withName(String name)

Set the name property: The data effect name.

Parameters:

name - the name value to set.

Returns:

the DataEffect object itself.

Applies to