AvailableRpOperationDisplayInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.AvailableRpOperationDisplayInfo

Implements

public final class AvailableRpOperationDisplayInfo
implements JsonSerializable<AvailableRpOperationDisplayInfo>

Description of an available operation.

Constructor Summary

Constructor Description
AvailableRpOperationDisplayInfo()

Creates an instance of AvailableRpOperationDisplayInfo class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Operation description.

static AvailableRpOperationDisplayInfo fromJson(JsonReader jsonReader)

Reads an instance of AvailableRpOperationDisplayInfo from the JsonReader.

String operation()

Get the operation property: Operation name.

String provider()

Get the provider property: Resource provider name.

String resource()

Get the resource property: Resource type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AvailableRpOperationDisplayInfo withDescription(String description)

Set the description property: Operation description.

AvailableRpOperationDisplayInfo withOperation(String operation)

Set the operation property: Operation name.

AvailableRpOperationDisplayInfo withProvider(String provider)

Set the provider property: Resource provider name.

AvailableRpOperationDisplayInfo withResource(String resource)

Set the resource property: Resource type.

Methods inherited from java.lang.Object

Constructor Details

AvailableRpOperationDisplayInfo

public AvailableRpOperationDisplayInfo()

Creates an instance of AvailableRpOperationDisplayInfo class.

Method Details

description

public String description()

Get the description property: Operation description.

Returns:

the description value.

fromJson

public static AvailableRpOperationDisplayInfo fromJson(JsonReader jsonReader)

Reads an instance of AvailableRpOperationDisplayInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: Operation name.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Resource provider name.

Returns:

the provider value.

resource

public String resource()

Get the resource property: Resource type.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public AvailableRpOperationDisplayInfo withDescription(String description)

Set the description property: Operation description.

Parameters:

description - the description value to set.

Returns:

the AvailableRpOperationDisplayInfo object itself.

withOperation

public AvailableRpOperationDisplayInfo withOperation(String operation)

Set the operation property: Operation name.

Parameters:

operation - the operation value to set.

Returns:

the AvailableRpOperationDisplayInfo object itself.

withProvider

public AvailableRpOperationDisplayInfo withProvider(String provider)

Set the provider property: Resource provider name.

Parameters:

provider - the provider value to set.

Returns:

the AvailableRpOperationDisplayInfo object itself.

withResource

public AvailableRpOperationDisplayInfo withResource(String resource)

Set the resource property: Resource type.

Parameters:

resource - the resource value to set.

Returns:

the AvailableRpOperationDisplayInfo object itself.

Applies to