Class OperationPropertiesDefinition
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.fluent.models.OperationPropertiesDefinition
-
public final class OperationPropertiesDefinition extends Object
The definition of Azure Monitoring properties.
-
-
Constructor Summary
Constructors Constructor Description OperationPropertiesDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationServiceSpecificationDefinitionserviceSpecification()Get the serviceSpecification property: The definition of Azure Monitoring service.voidvalidate()Validates the instance.OperationPropertiesDefinitionwithServiceSpecification(OperationServiceSpecificationDefinition serviceSpecification)Set the serviceSpecification property: The definition of Azure Monitoring service.
-
-
-
Method Detail
-
serviceSpecification
public OperationServiceSpecificationDefinition serviceSpecification()
Get the serviceSpecification property: The definition of Azure Monitoring service.- Returns:
- the serviceSpecification value.
-
withServiceSpecification
public OperationPropertiesDefinition withServiceSpecification(OperationServiceSpecificationDefinition serviceSpecification)
Set the serviceSpecification property: The definition of Azure Monitoring service.- Parameters:
serviceSpecification- the serviceSpecification value to set.- Returns:
- the OperationPropertiesDefinition object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-