Class OperationDisplay
java.lang.Object
com.azure.resourcemanager.mixedreality.models.OperationDisplay
The object that represents the operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of operation.Get the operation property: Operation type: Read, write, delete, etc.provider()
Get the provider property: Service provider: Microsoft.ResourceProvider.resource()
Get the resource property: Resource on which the operation is performed: Profile, endpoint, etc.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of operation.withOperation
(String operation) Set the operation property: Operation type: Read, write, delete, etc.withProvider
(String provider) Set the provider property: Service provider: Microsoft.ResourceProvider.withResource
(String resource) Set the resource property: Resource on which the operation is performed: Profile, endpoint, etc.
-
Constructor Details
-
OperationDisplay
public OperationDisplay()Creates an instance of OperationDisplay class.
-
-
Method Details
-
provider
Get the provider property: Service provider: Microsoft.ResourceProvider.- Returns:
- the provider value.
-
withProvider
Set the provider property: Service provider: Microsoft.ResourceProvider.- Parameters:
provider
- the provider value to set.- Returns:
- the OperationDisplay object itself.
-
resource
Get the resource property: Resource on which the operation is performed: Profile, endpoint, etc.- Returns:
- the resource value.
-
withResource
Set the resource property: Resource on which the operation is performed: Profile, endpoint, etc.- Parameters:
resource
- the resource value to set.- Returns:
- the OperationDisplay object itself.
-
operation
Get the operation property: Operation type: Read, write, delete, etc.- Returns:
- the operation value.
-
withOperation
Set the operation property: Operation type: Read, write, delete, etc.- Parameters:
operation
- the operation value to set.- Returns:
- the OperationDisplay object itself.
-
description
Get the description property: Description of operation.- Returns:
- the description value.
-
withDescription
Set the description property: Description of operation.- 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.
-