ResourceProviderOperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.ResourceProviderOperationDisplay

Implements

public final class ResourceProviderOperationDisplay
implements JsonSerializable<ResourceProviderOperationDisplay>

Display metadata associated with the operation.

Constructor Summary

Constructor Description
ResourceProviderOperationDisplay()

Creates an instance of ResourceProviderOperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of this operation.

static ResourceProviderOperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderOperationDisplay from the JsonReader.

String operation()

Get the operation property: Type of operation: get, read, delete, etc.

String provider()

Get the provider property: Resource provider: Microsoft Desktop Virtualization.

String resource()

Get the resource property: Resource on which the operation is performed.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceProviderOperationDisplay withDescription(String description)

Set the description property: Description of this operation.

ResourceProviderOperationDisplay withOperation(String operation)

Set the operation property: Type of operation: get, read, delete, etc.

ResourceProviderOperationDisplay withProvider(String provider)

Set the provider property: Resource provider: Microsoft Desktop Virtualization.

ResourceProviderOperationDisplay withResource(String resource)

Set the resource property: Resource on which the operation is performed.

Methods inherited from java.lang.Object

Constructor Details

ResourceProviderOperationDisplay

public ResourceProviderOperationDisplay()

Creates an instance of ResourceProviderOperationDisplay class.

Method Details

description

public String description()

Get the description property: Description of this operation.

Returns:

the description value.

fromJson

public static ResourceProviderOperationDisplay fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderOperationDisplay from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operation

public String operation()

Get the operation property: Type of operation: get, read, delete, etc.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Resource provider: Microsoft Desktop Virtualization.

Returns:

the provider value.

resource

public String resource()

Get the resource property: Resource on which the operation is performed.

Returns:

the resource value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public ResourceProviderOperationDisplay withDescription(String description)

Set the description property: Description of this operation.

Parameters:

description - the description value to set.

Returns:

the ResourceProviderOperationDisplay object itself.

withOperation

public ResourceProviderOperationDisplay withOperation(String operation)

Set the operation property: Type of operation: get, read, delete, etc.

Parameters:

operation - the operation value to set.

Returns:

the ResourceProviderOperationDisplay object itself.

withProvider

public ResourceProviderOperationDisplay withProvider(String provider)

Set the provider property: Resource provider: Microsoft Desktop Virtualization.

Parameters:

provider - the provider value to set.

Returns:

the ResourceProviderOperationDisplay object itself.

withResource

public ResourceProviderOperationDisplay withResource(String resource)

Set the resource property: Resource on which the operation is performed.

Parameters:

resource - the resource value to set.

Returns:

the ResourceProviderOperationDisplay object itself.

Applies to