Class OperationDisplay
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.OperationDisplay
-
public final class OperationDisplay extends Object
The object that represents the operation.
-
-
Constructor Summary
Constructors Constructor Description OperationDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: Description of the operation.String
operation()
Get the operation property: Operation type: Read, write, delete, etc.String
provider()
Get the provider property: Service provider: Microsoft.Consumption.String
resource()
Get the resource property: Resource on which the operation is performed: UsageDetail, etc.void
validate()
Validates the instance.
-
-
-
Method Detail
-
provider
public String provider()
Get the provider property: Service provider: Microsoft.Consumption.- Returns:
- the provider value.
-
resource
public String resource()
Get the resource property: Resource on which the operation is performed: UsageDetail, etc.- Returns:
- the resource value.
-
operation
public String operation()
Get the operation property: Operation type: Read, write, delete, etc.- Returns:
- the operation value.
-
description
public String description()
Get the description property: Description of the operation.- Returns:
- the description value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-