Class OperationInner
java.lang.Object
com.azure.resourcemanager.webpubsub.fluent.models.OperationInner
REST API operation supported by resource provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
Get the display property: The object that describes a operation.Get the isDataAction property: If the operation is a data action.name()
Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.origin()
Get the origin property: Optional.Get the properties property: Extra Operation properties.void
validate()
Validates the instance.withDisplay
(OperationDisplay display) Set the display property: The object that describes a operation.withIsDataAction
(Boolean isDataAction) Set the isDataAction property: If the operation is a data action.Set the name property: Name of the operation with format: {provider}/{resource}/{operation}.withOrigin
(String origin) Set the origin property: Optional.withProperties
(OperationProperties properties) Set the properties property: Extra Operation properties.
-
Constructor Details
-
OperationInner
public OperationInner()Creates an instance of OperationInner class.
-
-
Method Details
-
name
Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.- Returns:
- the name value.
-
withName
Set the name property: Name of the operation with format: {provider}/{resource}/{operation}.- Parameters:
name
- the name value to set.- Returns:
- the OperationInner object itself.
-
isDataAction
Get the isDataAction property: If the operation is a data action. (for data plane rbac).- Returns:
- the isDataAction value.
-
withIsDataAction
Set the isDataAction property: If the operation is a data action. (for data plane rbac).- Parameters:
isDataAction
- the isDataAction value to set.- Returns:
- the OperationInner object itself.
-
display
Get the display property: The object that describes a operation.- Returns:
- the display value.
-
withDisplay
Set the display property: The object that describes a operation.- Parameters:
display
- the display value to set.- Returns:
- the OperationInner object itself.
-
origin
Get the origin property: Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.- Returns:
- the origin value.
-
withOrigin
Set the origin property: Optional. The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX.- Parameters:
origin
- the origin value to set.- Returns:
- the OperationInner object itself.
-
properties
Get the properties property: Extra Operation properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: Extra Operation properties.- 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.
-