Class OperationDisplay
java.lang.Object
com.azure.resourcemanager.logz.models.OperationDisplay
The object that represents the operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the operation, e.g., 'Write monitors'.Get the operation property: Operation type, e.g., read, write, delete, etc.provider()
Get the provider property: Service provider, i.e., Microsoft.Logz.resource()
Get the resource property: Type on which the operation is performed, e.g., 'monitors'.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the operation, e.g., 'Write monitors'.withOperation
(String operation) Set the operation property: Operation type, e.g., read, write, delete, etc.withProvider
(String provider) Set the provider property: Service provider, i.e., Microsoft.Logz.withResource
(String resource) Set the resource property: Type on which the operation is performed, e.g., 'monitors'.
-
Constructor Details
-
OperationDisplay
public OperationDisplay()Creates an instance of OperationDisplay class.
-
-
Method Details
-
provider
Get the provider property: Service provider, i.e., Microsoft.Logz.- Returns:
- the provider value.
-
withProvider
Set the provider property: Service provider, i.e., Microsoft.Logz.- Parameters:
provider
- the provider value to set.- Returns:
- the OperationDisplay object itself.
-
resource
Get the resource property: Type on which the operation is performed, e.g., 'monitors'.- Returns:
- the resource value.
-
withResource
Set the resource property: Type on which the operation is performed, e.g., 'monitors'.- Parameters:
resource
- the resource value to set.- Returns:
- the OperationDisplay object itself.
-
operation
Get the operation property: Operation type, e.g., read, write, delete, etc.- Returns:
- the operation value.
-
withOperation
Set the operation property: Operation type, e.g., read, write, delete, etc.- Parameters:
operation
- the operation value to set.- Returns:
- the OperationDisplay object itself.
-
description
Get the description property: Description of the operation, e.g., 'Write monitors'.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the operation, e.g., 'Write monitors'.- Parameters:
description
- the description value to set.- Returns:
- the OperationDisplay object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-