ResourceProviderOperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.fluent.models.ResourceProviderOperationInner

Implements

public final class ResourceProviderOperationInner
implements JsonSerializable<ResourceProviderOperationInner>

Supported operation of this resource provider.

Constructor Summary

Constructor Description
ResourceProviderOperationInner()

Creates an instance of ResourceProviderOperationInner class.

Method Summary

Modifier and Type Method and Description
ResourceProviderOperationDisplay display()

Get the display property: Display metadata associated with the operation.

static ResourceProviderOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderOperationInner from the JsonReader.

Boolean isDataAction()

Get the isDataAction property: Is a data action.

String name()

Get the name property: Operation name, in format of {provider}/{resource}/{operation}.

OperationProperties properties()

Get the properties property: Properties of the operation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceProviderOperationInner withDisplay(ResourceProviderOperationDisplay display)

Set the display property: Display metadata associated with the operation.

ResourceProviderOperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Is a data action.

ResourceProviderOperationInner withName(String name)

Set the name property: Operation name, in format of {provider}/{resource}/{operation}.

ResourceProviderOperationInner withProperties(OperationProperties properties)

Set the properties property: Properties of the operation.

Methods inherited from java.lang.Object

Constructor Details

ResourceProviderOperationInner

public ResourceProviderOperationInner()

Creates an instance of ResourceProviderOperationInner class.

Method Details

display

public ResourceProviderOperationDisplay display()

Get the display property: Display metadata associated with the operation.

Returns:

the display value.

fromJson

public static ResourceProviderOperationInner fromJson(JsonReader jsonReader)

Reads an instance of ResourceProviderOperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isDataAction

public Boolean isDataAction()

Get the isDataAction property: Is a data action.

Returns:

the isDataAction value.

name

public String name()

Get the name property: Operation name, in format of {provider}/{resource}/{operation}.

Returns:

the name value.

properties

public OperationProperties properties()

Get the properties property: Properties of the operation.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplay

public ResourceProviderOperationInner withDisplay(ResourceProviderOperationDisplay display)

Set the display property: Display metadata associated with the operation.

Parameters:

display - the display value to set.

Returns:

the ResourceProviderOperationInner object itself.

withIsDataAction

public ResourceProviderOperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Is a data action.

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the ResourceProviderOperationInner object itself.

withName

public ResourceProviderOperationInner withName(String name)

Set the name property: Operation name, in format of {provider}/{resource}/{operation}.

Parameters:

name - the name value to set.

Returns:

the ResourceProviderOperationInner object itself.

withProperties

public ResourceProviderOperationInner withProperties(OperationProperties properties)

Set the properties property: Properties of the operation.

Parameters:

properties - the properties value to set.

Returns:

the ResourceProviderOperationInner object itself.

Applies to