Operation Class

  • java.lang.Object
    • com.azure.resourcemanager.datalakeanalytics.models.Operation

Implements

public final class Operation
implements JsonSerializable<Operation>

An available operation for Data Lake Analytics.

Constructor Summary

Constructor Description
Operation()

Creates an instance of Operation class.

Method Summary

Modifier and Type Method and Description
OperationDisplay display()

Get the display property: The display information for the operation.

static Operation fromJson(JsonReader jsonReader)

Reads an instance of Operation from the JsonReader.

String name()

Get the name property: The name of the operation.

OperationOrigin origin()

Get the origin property: The intended executor of the operation.

OperationMetaPropertyInfo properties()

Get the properties property: The OperationMetaPropertyInfo for the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

Operation

public Operation()

Creates an instance of Operation class.

Method Details

display

public OperationDisplay display()

Get the display property: The display information for the operation.

Returns:

the display value.

fromJson

public static Operation fromJson(JsonReader jsonReader)

Reads an instance of Operation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of Operation 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 Operation.

name

public String name()

Get the name property: The name of the operation.

Returns:

the name value.

origin

public OperationOrigin origin()

Get the origin property: The intended executor of the operation.

Returns:

the origin value.

properties

public OperationMetaPropertyInfo properties()

Get the properties property: The OperationMetaPropertyInfo for the operation.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to