OperationDisplay Class

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

Implements

public final class OperationDisplay
implements JsonSerializable<OperationDisplay>

The display information for a particular operation.

Constructor Summary

Constructor Description
OperationDisplay()

Creates an instance of OperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: A friendly description of the operation.

static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

String operation()

Get the operation property: A friendly name of the operation.

String provider()

Get the provider property: The resource provider of the operation.

String resource()

Get the resource property: The resource type of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

OperationDisplay

public OperationDisplay()

Creates an instance of OperationDisplay class.

Method Details

description

public String description()

Get the description property: A friendly description of the operation.

Returns:

the description value.

fromJson

public static OperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of OperationDisplay from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: A friendly name of the operation.

Returns:

the operation value.

provider

public String provider()

Get the provider property: The resource provider of the operation.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The resource type of the operation.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to