Class OperationInner
java.lang.Object
com.azure.resourcemanager.batch.fluent.models.OperationInner
A REST API operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: The object that describes the operation.Get the isDataAction property: Indicates whether the operation is a data action.name()
Get the name property: The operation name.origin()
Get the origin property: The intended executor of the operation.Get the properties property: Properties of the operation.void
validate()
Validates the instance.withDisplay
(OperationDisplay display) Set the display property: The object that describes the operation.withIsDataAction
(Boolean isDataAction) Set the isDataAction property: Indicates whether the operation is a data action.Set the name property: The operation name.withOrigin
(String origin) Set the origin property: The intended executor of the operation.withProperties
(Object properties) Set the properties property: Properties of the operation.
-
Constructor Details
-
OperationInner
public OperationInner()Creates an instance of OperationInner class.
-
-
Method Details
-
name
Get the name property: The operation name.This is of the format {provider}/{resource}/{operation}.
- Returns:
- the name value.
-
withName
Set the name property: The operation name.This is of the format {provider}/{resource}/{operation}.
- Parameters:
name
- the name value to set.- Returns:
- the OperationInner object itself.
-
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 describes the operation.- Returns:
- the display value.
-
withDisplay
Set the display property: The object that describes the operation.- Parameters:
display
- the display value to set.- Returns:
- the OperationInner object itself.
-
origin
Get the origin property: The intended executor of the operation.- Returns:
- the origin value.
-
withOrigin
Set the origin property: The intended executor of the operation.- Parameters:
origin
- the origin value to set.- Returns:
- the OperationInner object itself.
-
properties
Get the properties property: Properties of the operation.- Returns:
- the properties value.
-
withProperties
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.
-