Class Operation
java.lang.Object
com.azure.resourcemanager.mediaservices.models.Operation
An operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the actionType property: Indicates the action type.display()
Get the display property: The operation display name.Get the isDataAction property: Whether the operation applies to data-plane.name()
Get the name property: The operation name.origin()
Get the origin property: Origin of the operation.Get the properties property: Operation properties format.void
validate()
Validates the instance.withActionType
(ActionType actionType) Set the actionType property: Indicates the action type.withDisplay
(OperationDisplay display) Set the display property: The operation display name.withIsDataAction
(Boolean isDataAction) Set the isDataAction property: Whether the operation applies to data-plane.Set the name property: The operation name.withOrigin
(String origin) Set the origin property: Origin of the operation.withProperties
(Properties properties) Set the properties property: Operation properties format.
-
Constructor Details
-
Operation
public Operation()Creates an instance of Operation class.
-
-
Method Details
-
name
Get the name property: The operation name.- Returns:
- the name value.
-
withName
Set the name property: The operation name.- Parameters:
name
- the name value to set.- Returns:
- the Operation object itself.
-
display
Get the display property: The operation display name.- Returns:
- the display value.
-
withDisplay
Set the display property: The operation display name.- Parameters:
display
- the display value to set.- Returns:
- the Operation object itself.
-
origin
Get the origin property: Origin of the operation.- Returns:
- the origin value.
-
withOrigin
Set the origin property: Origin of the operation.- Parameters:
origin
- the origin value to set.- Returns:
- the Operation object itself.
-
properties
Get the properties property: Operation properties format.- Returns:
- the properties value.
-
withProperties
Set the properties property: Operation properties format.- Parameters:
properties
- the properties value to set.- Returns:
- the Operation object itself.
-
isDataAction
Get the isDataAction property: Whether the operation applies to data-plane.- Returns:
- the isDataAction value.
-
withIsDataAction
Set the isDataAction property: Whether the operation applies to data-plane.- Parameters:
isDataAction
- the isDataAction value to set.- Returns:
- the Operation object itself.
-
actionType
Get the actionType property: Indicates the action type.- Returns:
- the actionType value.
-
withActionType
Set the actionType property: Indicates the action type.- Parameters:
actionType
- the actionType value to set.- Returns:
- the Operation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-