Class OperationInner
- java.lang.Object
-
- com.azure.resourcemanager.keyvault.fluent.models.OperationInner
-
public final class OperationInner extends Object
Key Vault REST API operation definition.
-
-
Constructor Summary
Constructors Constructor Description OperationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationDisplaydisplay()Get the display property: Display metadata associated with the operation.BooleanisDataAction()Get the isDataAction property: Property to specify whether the action is a data action.Stringname()Get the name property: Operation name: {provider}/{resource}/{operation}.Stringorigin()Get the origin property: The origin of operations.ServiceSpecificationserviceSpecification()Get the serviceSpecification property: One property of operation, include metric specifications.voidvalidate()Validates the instance.OperationInnerwithDisplay(OperationDisplay display)Set the display property: Display metadata associated with the operation.OperationInnerwithIsDataAction(Boolean isDataAction)Set the isDataAction property: Property to specify whether the action is a data action.OperationInnerwithName(String name)Set the name property: Operation name: {provider}/{resource}/{operation}.OperationInnerwithOrigin(String origin)Set the origin property: The origin of operations.OperationInnerwithServiceSpecification(ServiceSpecification serviceSpecification)Set the serviceSpecification property: One property of operation, include metric specifications.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Operation name: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
withName
public OperationInner withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.- Parameters:
name- the name value to set.- Returns:
- the OperationInner object itself.
-
display
public OperationDisplay display()
Get the display property: Display metadata associated with the operation.- Returns:
- the display value.
-
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: Display metadata associated with the operation.- Parameters:
display- the display value to set.- Returns:
- the OperationInner object itself.
-
origin
public String origin()
Get the origin property: The origin of operations.- Returns:
- the origin value.
-
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: The origin of operations.- Parameters:
origin- the origin value to set.- Returns:
- the OperationInner object itself.
-
isDataAction
public Boolean isDataAction()
Get the isDataAction property: Property to specify whether the action is a data action.- Returns:
- the isDataAction value.
-
withIsDataAction
public OperationInner withIsDataAction(Boolean isDataAction)
Set the isDataAction property: Property to specify whether the action is a data action.- Parameters:
isDataAction- the isDataAction value to set.- Returns:
- the OperationInner object itself.
-
serviceSpecification
public ServiceSpecification serviceSpecification()
Get the serviceSpecification property: One property of operation, include metric specifications.- Returns:
- the serviceSpecification value.
-
withServiceSpecification
public OperationInner withServiceSpecification(ServiceSpecification serviceSpecification)
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.
-
-