OperationInner Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. fluent. models. OperationInner
- com.
Implements
public final class OperationInner
implements JsonSerializable<OperationInner>
REST API operation supported by resource provider.
Constructor Summary
| Constructor | Description |
|---|---|
| OperationInner() |
Creates an instance of Operation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Operation |
display()
Get the display property: The object that describes a operation. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| Boolean |
isDataAction()
Get the is |
| String |
name()
Get the name property: Name of the operation with format: {provider}/{resource}/{operation}. |
| String |
origin()
Get the origin property: Optional. |
|
Operation |
properties()
Get the properties property: Extra Operation properties. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Operation |
withDisplay(OperationDisplay display)
Set the display property: The object that describes a operation. |
|
Operation |
withIsDataAction(Boolean isDataAction)
Set the is |
|
Operation |
withName(String name)
Set the name property: Name of the operation with format: {provider}/{resource}/{operation}. |
|
Operation |
withOrigin(String origin)
Set the origin property: Optional. |
|
Operation |
withProperties(OperationProperties properties)
Set the properties property: Extra Operation properties. |
Methods inherited from java.lang.Object
Constructor Details
OperationInner
public OperationInner()
Creates an instance of OperationInner class.
Method Details
display
public OperationDisplay display()
Get the display property: The object that describes a operation.
Returns:
fromJson
public static OperationInner fromJson(JsonReader jsonReader)
Reads an instance of OperationInner from the JsonReader.
Parameters:
Returns:
Throws:
isDataAction
public Boolean isDataAction()
Get the isDataAction property: If the operation is a data action. (for data plane rbac).
Returns:
name
public String name()
Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.
Returns:
origin
public String 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:
properties
public OperationProperties properties()
Get the properties property: Extra Operation properties.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationInner withDisplay(OperationDisplay display)
Set the display property: The object that describes a operation.
Parameters:
Returns:
withIsDataAction
public OperationInner withIsDataAction(Boolean isDataAction)
Set the isDataAction property: If the operation is a data action. (for data plane rbac).
Parameters:
Returns:
withName
public OperationInner withName(String name)
Set the name property: Name of the operation with format: {provider}/{resource}/{operation}.
Parameters:
Returns:
withOrigin
public OperationInner withOrigin(String origin)
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:
Returns:
withProperties
public OperationInner withProperties(OperationProperties properties)
Set the properties property: Extra Operation properties.
Parameters:
Returns: