Class OperationInner
java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.OperationInner
CDN REST API operation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisplay()Get the display property: The object that represents the operation.Get the isDataAction property: Indicates whether the operation is a data action.name()Get the name property: Operation name: {provider}/{resource}/{operation}.origin()Get the origin property: The origin of operations.Get the serviceSpecification property: One property of operation, include metric specifications.voidvalidate()Validates the instance.withDisplay(OperationDisplay display) Set the display property: The object that represents the operation.withIsDataAction(Boolean isDataAction) Set the isDataAction property: Indicates whether the operation is a data action.withServiceSpecification(ServiceSpecification serviceSpecification) Set the serviceSpecification property: One property of operation, include metric specifications.
-
Constructor Details
-
OperationInner
public OperationInner()
-
-
Method Details
-
name
Get the name property: Operation name: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
isDataAction
Get the isDataAction property: Indicates whether the operation is a data action.- Returns:
- the isDataAction value.
-
withIsDataAction
Set the isDataAction property: Indicates whether the operation is a data action.- Parameters:
isDataAction- the isDataAction value to set.- Returns:
- the OperationInner object itself.
-
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 OperationInner object itself.
-
origin
Get the origin property: The origin of operations.- Returns:
- the origin value.
-
serviceSpecification
Get the serviceSpecification property: One property of operation, include metric specifications.- Returns:
- the serviceSpecification value.
-
withServiceSpecification
Set the serviceSpecification property: One property of operation, include metric specifications.- Parameters:
serviceSpecification- the serviceSpecification value to set.- Returns:
- the OperationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-