OperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. search. models. OperationDisplay
- com.
Implements
public final class OperationDisplay
implements JsonSerializable<OperationDisplay>
The object that describes the operation.
Constructor Summary
Constructor | Description |
---|---|
OperationDisplay() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The friendly name of the operation. |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
String |
operation()
Get the operation property: The operation type: read, write, delete, list |
String |
provider()
Get the provider property: The friendly name of the resource provider. |
String |
resource()
Get the resource property: The resource type on which the operation is performed. |
Json |
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: The friendly name of the operation.
Returns:
fromJson
public static OperationDisplay fromJson(JsonReader jsonReader)
Reads an instance of OperationDisplay from the JsonReader.
Parameters:
Returns:
Throws:
operation
public String operation()
Get the operation property: The operation type: read, write, delete, listKeys/action, etc.
Returns:
provider
public String provider()
Get the provider property: The friendly name of the resource provider.
Returns:
resource
public String resource()
Get the resource property: The resource type on which the operation is performed.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java