Class OperationsDefinition
java.lang.Object
com.azure.resourcemanager.attestation.models.OperationsDefinition
Definition object with the name and properties of an operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: Display object with properties of the operation.name()
Get the name property: Name of the operation.void
validate()
Validates the instance.withDisplay
(OperationsDisplayDefinition display) Set the display property: Display object with properties of the operation.Set the name property: Name of the operation.
-
Constructor Details
-
OperationsDefinition
public OperationsDefinition()Creates an instance of OperationsDefinition class.
-
-
Method Details
-
name
Get the name property: Name of the operation.- Returns:
- the name value.
-
withName
Set the name property: Name of the operation.- Parameters:
name
- the name value to set.- Returns:
- the OperationsDefinition object itself.
-
display
Get the display property: Display object with properties of the operation.- Returns:
- the display value.
-
withDisplay
Set the display property: Display object with properties of the operation.- Parameters:
display
- the display value to set.- Returns:
- the OperationsDefinition object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-