OperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. datadog. models. OperationDisplay
- com.
public final class OperationDisplay
The object that represents the operation.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationDisplay() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Description of the operation, e. |
| String |
operation()
Get the operation property: Operation type, e. |
| String |
provider()
Get the provider property: Service provider, i. |
| String |
resource()
Get the resource property: Type on which the operation is performed, e. |
| void |
validate()
Validates the instance. |
|
Operation |
withDescription(String description)
Set the description property: Description of the operation, e. |
|
Operation |
withOperation(String operation)
Set the operation property: Operation type, e. |
|
Operation |
withProvider(String provider)
Set the provider property: Service provider, i. |
|
Operation |
withResource(String resource)
Set the resource property: Type on which the operation is performed, e. |
Methods inherited from java.lang.Object
Constructor Details
OperationDisplay
public OperationDisplay()
Creates an instance of OperationDisplay class.
Method Details
description
public String description()
Get the description property: Description of the operation, e.g., 'Write monitors'.
Returns:
operation
public String operation()
Get the operation property: Operation type, e.g., read, write, delete, etc.
Returns:
provider
public String provider()
Get the provider property: Service provider, i.e., Microsoft.Datadog.
Returns:
resource
public String resource()
Get the resource property: Type on which the operation is performed, e.g., 'monitors'.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public OperationDisplay withDescription(String description)
Set the description property: Description of the operation, e.g., 'Write monitors'.
Parameters:
Returns:
withOperation
public OperationDisplay withOperation(String operation)
Set the operation property: Operation type, e.g., read, write, delete, etc.
Parameters:
Returns:
withProvider
public OperationDisplay withProvider(String provider)
Set the provider property: Service provider, i.e., Microsoft.Datadog.
Parameters:
Returns:
withResource
public OperationDisplay withResource(String resource)
Set the resource property: Type on which the operation is performed, e.g., 'monitors'.
Parameters:
Returns: