Class OperationPropertiesDefinition
java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.OperationPropertiesDefinition
The definition of Azure Monitoring properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of OperationPropertiesDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the serviceSpecification property: The definition of Azure Monitoring service.voidvalidate()Validates the instance.withServiceSpecification(OperationServiceSpecificationDefinition serviceSpecification) Set the serviceSpecification property: The definition of Azure Monitoring service.
-
Constructor Details
-
OperationPropertiesDefinition
public OperationPropertiesDefinition()Creates an instance of OperationPropertiesDefinition class.
-
-
Method Details
-
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.
-