Class OperationDisplay
- java.lang.Object
-
- com.microsoft.azure.management.cosmosdb.OperationDisplay
-
public class OperationDisplay extends Object
The object that represents the operation.
-
-
Constructor Summary
Constructors Constructor Description OperationDisplay()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get description of operation.Stringoperation()Get operation type: Read, write, delete, etc.Stringprovider()Get service provider: Microsoft.ResourceProvider.Stringresource()Get resource on which the operation is performed: Profile, endpoint, etc.OperationDisplaywithDescription(String description)Set description of operation.OperationDisplaywithOperation(String operation)Set operation type: Read, write, delete, etc.OperationDisplaywithProvider(String provider)Set service provider: Microsoft.ResourceProvider.OperationDisplaywithResource(String resource)Set resource on which the operation is performed: Profile, endpoint, etc.
-
-
-
Method Detail
-
provider
public String provider()
Get service provider: Microsoft.ResourceProvider.- Returns:
- the provider value
-
withProvider
public OperationDisplay withProvider(String provider)
Set service provider: Microsoft.ResourceProvider.- Parameters:
provider- the provider value to set- Returns:
- the OperationDisplay object itself.
-
resource
public String resource()
Get resource on which the operation is performed: Profile, endpoint, etc.- Returns:
- the resource value
-
withResource
public OperationDisplay withResource(String resource)
Set resource on which the operation is performed: Profile, endpoint, etc.- Parameters:
resource- the resource value to set- Returns:
- the OperationDisplay object itself.
-
operation
public String operation()
Get operation type: Read, write, delete, etc.- Returns:
- the operation value
-
withOperation
public OperationDisplay withOperation(String operation)
Set operation type: Read, write, delete, etc.- Parameters:
operation- the operation value to set- Returns:
- the OperationDisplay object itself.
-
description
public String description()
Get description of operation.- Returns:
- the description value
-
withDescription
public OperationDisplay withDescription(String description)
Set description of operation.- Parameters:
description- the description value to set- Returns:
- the OperationDisplay object itself.
-
-