Class OperationDisplay
java.lang.Object
com.azure.resourcemanager.purview.models.OperationDisplay
The response model for get operation properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the operation for display purposes.Get the operation property: Name of the operation for display purposes.provider()
Get the provider property: Name of the provider for display purposes.resource()
Get the resource property: Name of the resource type for display purposes.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of the operation for display purposes.withOperation
(String operation) Set the operation property: Name of the operation for display purposes.withProvider
(String provider) Set the provider property: Name of the provider for display purposes.withResource
(String resource) Set the resource property: Name of the resource type for display purposes.
-
Constructor Details
-
OperationDisplay
public OperationDisplay()Creates an instance of OperationDisplay class.
-
-
Method Details
-
description
Get the description property: Description of the operation for display purposes.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the operation for display purposes.- Parameters:
description
- the description value to set.- Returns:
- the OperationDisplay object itself.
-
operation
Get the operation property: Name of the operation for display purposes.- Returns:
- the operation value.
-
withOperation
Set the operation property: Name of the operation for display purposes.- Parameters:
operation
- the operation value to set.- Returns:
- the OperationDisplay object itself.
-
provider
Get the provider property: Name of the provider for display purposes.- Returns:
- the provider value.
-
withProvider
Set the provider property: Name of the provider for display purposes.- Parameters:
provider
- the provider value to set.- Returns:
- the OperationDisplay object itself.
-
resource
Get the resource property: Name of the resource type for display purposes.- Returns:
- the resource value.
-
withResource
Set the resource property: Name of the resource type for display purposes.- Parameters:
resource
- the resource value to set.- Returns:
- the OperationDisplay object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-