Class Operation
- java.lang.Object
-
- com.azure.resourcemanager.resourcehealth.models.Operation
-
public final class Operation extends Object
Operation available in the resourcehealth resource provider.
-
-
Constructor Summary
Constructors Constructor Description Operation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationDisplay
display()
Get the display property: Properties of the operation.String
name()
Get the name property: Name of the operation.void
validate()
Validates the instance.Operation
withDisplay(OperationDisplay display)
Set the display property: Properties of the operation.Operation
withName(String name)
Set the name property: Name of the operation.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the operation.- Returns:
- the name value.
-
withName
public Operation withName(String name)
Set the name property: Name of the operation.- Parameters:
name
- the name value to set.- Returns:
- the Operation object itself.
-
display
public OperationDisplay display()
Get the display property: Properties of the operation.- Returns:
- the display value.
-
withDisplay
public Operation withDisplay(OperationDisplay display)
Set the display property: Properties of the operation.- Parameters:
display
- the display value to set.- Returns:
- the Operation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-