ProviderOperation Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.ProviderOperation

Implements

public final class ProviderOperation
implements JsonSerializable<ProviderOperation>

Operation.

Constructor Summary

Constructor Description
ProviderOperation()

Creates an instance of ProviderOperation class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The operation description.

String displayName()

Get the displayName property: The operation display name.

static ProviderOperation fromJson(JsonReader jsonReader)

Reads an instance of ProviderOperation from the JsonReader.

Boolean isDataAction()

Get the isDataAction property: The dataAction flag to specify the operation type.

String name()

Get the name property: The operation name.

String origin()

Get the origin property: The operation origin.

Object properties()

Get the properties property: The operation properties.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ProviderOperation withDescription(String description)

Set the description property: The operation description.

ProviderOperation withDisplayName(String displayName)

Set the displayName property: The operation display name.

ProviderOperation withIsDataAction(Boolean isDataAction)

Set the isDataAction property: The dataAction flag to specify the operation type.

ProviderOperation withName(String name)

Set the name property: The operation name.

ProviderOperation withOrigin(String origin)

Set the origin property: The operation origin.

ProviderOperation withProperties(Object properties)

Set the properties property: The operation properties.

Methods inherited from java.lang.Object

Constructor Details

ProviderOperation

public ProviderOperation()

Creates an instance of ProviderOperation class.

Method Details

description

public String description()

Get the description property: The operation description.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The operation display name.

Returns:

the displayName value.

fromJson

public static ProviderOperation fromJson(JsonReader jsonReader)

Reads an instance of ProviderOperation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isDataAction

public Boolean isDataAction()

Get the isDataAction property: The dataAction flag to specify the operation type.

Returns:

the isDataAction value.

name

public String name()

Get the name property: The operation name.

Returns:

the name value.

origin

public String origin()

Get the origin property: The operation origin.

Returns:

the origin value.

properties

public Object properties()

Get the properties property: The operation properties.

Returns:

the properties value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDescription

public ProviderOperation withDescription(String description)

Set the description property: The operation description.

Parameters:

description - the description value to set.

Returns:

the ProviderOperation object itself.

withDisplayName

public ProviderOperation withDisplayName(String displayName)

Set the displayName property: The operation display name.

Parameters:

displayName - the displayName value to set.

Returns:

the ProviderOperation object itself.

withIsDataAction

public ProviderOperation withIsDataAction(Boolean isDataAction)

Set the isDataAction property: The dataAction flag to specify the operation type.

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the ProviderOperation object itself.

withName

public ProviderOperation withName(String name)

Set the name property: The operation name.

Parameters:

name - the name value to set.

Returns:

the ProviderOperation object itself.

withOrigin

public ProviderOperation withOrigin(String origin)

Set the origin property: The operation origin.

Parameters:

origin - the origin value to set.

Returns:

the ProviderOperation object itself.

withProperties

public ProviderOperation withProperties(Object properties)

Set the properties property: The operation properties.

Parameters:

properties - the properties value to set.

Returns:

the ProviderOperation object itself.

Applies to