OperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.fluent.models.OperationInner

public final class OperationInner

REST API operation supported by resource provider.

Constructor Summary

Constructor Description
OperationInner()

Creates an instance of OperationInner class.

Method Summary

Modifier and Type Method and Description
OperationDisplay display()

Get the display property: The object that describes a operation.

Boolean isDataAction()

Get the isDataAction property: If the operation is a data action.

String name()

Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.

String origin()

Get the origin property: Optional.

OperationProperties properties()

Get the properties property: Extra Operation properties.

void validate()

Validates the instance.

OperationInner withDisplay(OperationDisplay display)

Set the display property: The object that describes a operation.

OperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: If the operation is a data action.

OperationInner withName(String name)

Set the name property: Name of the operation with format: {provider}/{resource}/{operation}.

OperationInner withOrigin(String origin)

Set the origin property: Optional.

OperationInner 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:

the display value.

isDataAction

public Boolean isDataAction()

Get the isDataAction property: If the operation is a data action. (for data plane rbac).

Returns:

the isDataAction value.

name

public String name()

Get the name property: Name of the operation with format: {provider}/{resource}/{operation}.

Returns:

the name value.

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:

the origin value.

properties

public OperationProperties properties()

Get the properties property: Extra Operation properties.

Returns:

the properties value.

validate

public void validate()

Validates the instance.

withDisplay

public OperationInner withDisplay(OperationDisplay display)

Set the display property: The object that describes a operation.

Parameters:

display - the display value to set.

Returns:

the OperationInner object itself.

withIsDataAction

public OperationInner withIsDataAction(Boolean isDataAction)

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.

withName

public OperationInner withName(String name)

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.

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:

origin - the origin value to set.

Returns:

the OperationInner object itself.

withProperties

public OperationInner withProperties(OperationProperties properties)

Set the properties property: Extra Operation properties.

Parameters:

properties - the properties value to set.

Returns:

the OperationInner object itself.

Applies to