OperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. operationsmanagement. models. OperationDisplay
- com.
Implements
public final class OperationDisplay
implements JsonSerializable<OperationDisplay>
Display metadata associated with the operation.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationDisplay() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
operation()
Get the operation property: Type of operation: get, read, delete, etc. |
| String |
provider()
Get the provider property: Service provider: Microsoft Operations |
| String |
resource()
Get the resource property: Resource on which the operation is performed etc. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withOperation(String operation)
Set the operation property: Type of operation: get, read, delete, etc. |
|
Operation |
withProvider(String provider)
Set the provider property: Service provider: Microsoft Operations |
|
Operation |
withResource(String resource)
Set the resource property: Resource on which the operation is performed etc. |
Methods inherited from java.lang.Object
Constructor Details
OperationDisplay
public OperationDisplay()
Creates an instance of OperationDisplay class.
Method Details
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: Type of operation: get, read, delete, etc.
Returns:
provider
public String provider()
Get the provider property: Service provider: Microsoft OperationsManagement.
Returns:
resource
public String resource()
Get the resource property: Resource on which the operation is performed etc.
Returns:
toJson
validate
public void validate()
Validates the instance.
withOperation
public OperationDisplay withOperation(String operation)
Set the operation property: Type of operation: get, read, delete, etc.
Parameters:
Returns:
withProvider
public OperationDisplay withProvider(String provider)
Set the provider property: Service provider: Microsoft OperationsManagement.
Parameters:
Returns:
withResource
public OperationDisplay withResource(String resource)
Set the resource property: Resource on which the operation is performed etc.
Parameters:
Returns: