Class ApiOperationInner
java.lang.Object
com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner
REST API operation description: see
https://github.com/Azure/azure-rest-api-specs/blob/master/documentation/openapi-authoring-automated-guidelines.md#r3023-operationsapiimplementation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: The object that represents the operation.Get the isDataAction property: The flag that indicates whether the operation applies to data plane.name()
Get the name property: Operation name: {provider}/{resource}/{operation}.origin()
Get the origin property: Origin of the operation.Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.void
validate()
Validates the instance.withDisplay
(ApiOperationDisplay display) Set the display property: The object that represents the operation.withIsDataAction
(Boolean isDataAction) Set the isDataAction property: The flag that indicates whether the operation applies to data plane.Set the name property: Operation name: {provider}/{resource}/{operation}.withOrigin
(String origin) Set the origin property: Origin of the operation.withServiceSpecification
(ApiOperationPropertiesServiceSpecification serviceSpecification) Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.
-
Constructor Details
-
ApiOperationInner
public ApiOperationInner()
-
-
Method Details
-
display
Get the display property: The object that represents the operation.- Returns:
- the display value.
-
withDisplay
Set the display property: The object that represents the operation.- Parameters:
display
- the display value to set.- Returns:
- the ApiOperationInner object itself.
-
origin
Get the origin property: Origin of the operation.- Returns:
- the origin value.
-
withOrigin
Set the origin property: Origin of the operation.- Parameters:
origin
- the origin value to set.- Returns:
- the ApiOperationInner object itself.
-
isDataAction
Get the isDataAction property: The flag that indicates whether the operation applies to data plane.- Returns:
- the isDataAction value.
-
withIsDataAction
Set the isDataAction property: The flag that indicates whether the operation applies to data plane.- Parameters:
isDataAction
- the isDataAction value to set.- Returns:
- the ApiOperationInner object itself.
-
name
Get the name property: Operation name: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
withName
Set the name property: Operation name: {provider}/{resource}/{operation}.- Parameters:
name
- the name value to set.- Returns:
- the ApiOperationInner object itself.
-
serviceSpecification
Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.- Returns:
- the serviceSpecification value.
-
withServiceSpecification
public ApiOperationInner withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification) Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.- Parameters:
serviceSpecification
- the serviceSpecification value to set.- Returns:
- the ApiOperationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-