ApiOperationDisplay Class
- java.
lang. Object - com.
azure. resourcemanager. storagecache. models. ApiOperationDisplay
- com.
public final class ApiOperationDisplay
The object that represents the operation.
Constructor Summary
Constructor | Description |
---|---|
ApiOperationDisplay() |
Creates an instance of Api |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of the operation. |
String |
operation()
Get the operation property: Operation type: Read, write, delete, etc. |
String |
provider()
Get the provider property: Service provider: Microsoft. |
String |
resource()
Get the resource property: Resource on which the operation is performed: Cache, etc. |
void |
validate()
Validates the instance. |
Api |
withDescription(String description)
Set the description property: The description of the operation. |
Api |
withOperation(String operation)
Set the operation property: Operation type: Read, write, delete, etc. |
Api |
withProvider(String provider)
Set the provider property: Service provider: Microsoft. |
Api |
withResource(String resource)
Set the resource property: Resource on which the operation is performed: Cache, etc. |
Methods inherited from java.lang.Object
Constructor Details
ApiOperationDisplay
public ApiOperationDisplay()
Creates an instance of ApiOperationDisplay class.
Method Details
description
public String description()
Get the description property: The description of the operation.
Returns:
operation
public String operation()
Get the operation property: Operation type: Read, write, delete, etc.
Returns:
provider
public String provider()
Get the provider property: Service provider: Microsoft.StorageCache.
Returns:
resource
public String resource()
Get the resource property: Resource on which the operation is performed: Cache, etc.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public ApiOperationDisplay withDescription(String description)
Set the description property: The description of the operation.
Parameters:
Returns:
withOperation
public ApiOperationDisplay withOperation(String operation)
Set the operation property: Operation type: Read, write, delete, etc.
Parameters:
Returns:
withProvider
public ApiOperationDisplay withProvider(String provider)
Set the provider property: Service provider: Microsoft.StorageCache.
Parameters:
Returns:
withResource
public ApiOperationDisplay withResource(String resource)
Set the resource property: Resource on which the operation is performed: Cache, etc.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for