Class OperationInner
- java.lang.Object
-
- com.azure.resourcemanager.avs.fluent.models.OperationInner
-
public final class OperationInner extends Object
A 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: Contains the localized display information for this operation.Boolean
isDataAction()
Get the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.String
name()
Get the name property: Name of the operation being performed on this object.String
origin()
Get the origin property: Origin of the operation.OperationProperties
properties()
Get the properties property: Properties of the operation.void
validate()
Validates the instance.OperationInner
withIsDataAction(Boolean isDataAction)
Set the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.OperationInner
withOrigin(String origin)
Set the origin property: Origin of the operation.OperationInner
withProperties(OperationProperties properties)
Set the properties property: Properties of the operation.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the operation being performed on this object.- Returns:
- the name value.
-
display
public OperationDisplay display()
Get the display property: Contains the localized display information for this operation.- Returns:
- the display value.
-
isDataAction
public Boolean isDataAction()
Get the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.- Returns:
- the isDataAction value.
-
withIsDataAction
public OperationInner withIsDataAction(Boolean isDataAction)
Set the isDataAction property: Gets or sets a value indicating whether the operation is a data action or not.- Parameters:
isDataAction
- the isDataAction value to set.- Returns:
- the OperationInner object itself.
-
origin
public String origin()
Get the origin property: Origin of the operation.- Returns:
- the origin value.
-
withOrigin
public OperationInner withOrigin(String origin)
Set the origin property: Origin of the operation.- Parameters:
origin
- the origin value to set.- Returns:
- the OperationInner object itself.
-
properties
public OperationProperties properties()
Get the properties property: Properties of the operation.- Returns:
- the properties value.
-
withProperties
public OperationInner withProperties(OperationProperties properties)
Set the properties property: Properties of the operation.- Parameters:
properties
- the properties value to set.- Returns:
- the OperationInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-