共用方式為


OperationInner Class

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

public final class OperationInner

Resource Graph REST API operation definition.

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: Display metadata associated with the operation.

String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

String origin()

Get the origin property: The origin of operations.

void validate()

Validates the instance.

OperationInner withDisplay(OperationDisplay display)

Set the display property: Display metadata associated with the operation.

OperationInner withName(String name)

Set the name property: Operation name: {provider}/{resource}/{operation}.

OperationInner withOrigin(String origin)

Set the origin property: The origin of operations.

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: Display metadata associated with the operation.

Returns:

the display value.

name

public String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

Returns:

the name value.

origin

public String origin()

Get the origin property: The origin of operations.

Returns:

the origin value.

validate

public void validate()

Validates the instance.

withDisplay

public OperationInner withDisplay(OperationDisplay display)

Set the display property: Display metadata associated with the operation.

Parameters:

display - the display value to set.

Returns:

the OperationInner object itself.

withName

public OperationInner withName(String name)

Set the name property: Operation name: {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: The origin of operations.

Parameters:

origin - the origin value to set.

Returns:

the OperationInner object itself.

Applies to