OperationInfo Class
- java.
lang. Object - com.
azure. resourcemanager. maintenance. models. OperationInfo
- com.
public final class OperationInfo
Information about an operation.
Constructor Summary
Constructor | Description |
---|---|
OperationInfo() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: Description of the operation. |
String |
operation()
Get the operation property: Name of the operation. |
String |
provider()
Get the provider property: Name of the provider. |
String |
resource()
Get the resource property: Name of the resource type. |
void |
validate()
Validates the instance. |
Operation |
withDescription(String description)
Set the description property: Description of the operation. |
Operation |
withOperation(String operation)
Set the operation property: Name of the operation. |
Operation |
withProvider(String provider)
Set the provider property: Name of the provider. |
Operation |
withResource(String resource)
Set the resource property: Name of the resource type. |
Methods inherited from java.lang.Object
Constructor Details
OperationInfo
public OperationInfo()
Creates an instance of OperationInfo class.
Method Details
description
public String description()
Get the description property: Description of the operation.
Returns:
operation
public String operation()
Get the operation property: Name of the operation.
Returns:
provider
public String provider()
Get the provider property: Name of the provider.
Returns:
resource
public String resource()
Get the resource property: Name of the resource type.
Returns:
validate
public void validate()
Validates the instance.
withDescription
public OperationInfo withDescription(String description)
Set the description property: Description of the operation.
Parameters:
Returns:
withOperation
public OperationInfo withOperation(String operation)
Set the operation property: Name of the operation.
Parameters:
Returns:
withProvider
public OperationInfo withProvider(String provider)
Set the provider property: Name of the provider.
Parameters:
Returns:
withResource
public OperationInfo withResource(String resource)
Set the resource property: Name of the resource type.
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