Class OperationInner
- java.lang.Object
-
- com.azure.resourcemanager.consumption.fluent.models.OperationInner
-
public final class OperationInner extends Object
A Consumption REST API operation.
-
-
Constructor Summary
Constructors Constructor Description OperationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationDisplay
display()
Get the display property: The object that represents the operation.String
id()
Get the id property: Operation Id.String
name()
Get the name property: Operation name: {provider}/{resource}/{operation}.void
validate()
Validates the instance.OperationInner
withDisplay(OperationDisplay display)
Set the display property: The object that represents the operation.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Operation Id.- Returns:
- the id value.
-
name
public String name()
Get the name property: Operation name: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
display
public OperationDisplay display()
Get the display property: The object that represents the operation.- Returns:
- the display value.
-
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: The object that represents the operation.- Parameters:
display
- the display value to set.- Returns:
- the OperationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-