Class ApiOperationProperties
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.fluent.models.ApiOperationProperties
-
public final class ApiOperationProperties extends Object
Additional details about an operation.
-
-
Constructor Summary
Constructors Constructor Description ApiOperationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiOperationPropertiesServiceSpecification
serviceSpecification()
Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.void
validate()
Validates the instance.ApiOperationProperties
withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification)
Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.
-
-
-
Method Detail
-
serviceSpecification
public ApiOperationPropertiesServiceSpecification serviceSpecification()
Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.- Returns:
- the serviceSpecification value.
-
withServiceSpecification
public ApiOperationProperties withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification)
Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.- Parameters:
serviceSpecification
- the serviceSpecification value to set.- Returns:
- the ApiOperationProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-