ApiOperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.fluent.models.ApiOperationInner

public final class ApiOperationInner

Constructor Summary

Constructor Description
ApiOperationInner()

Creates an instance of ApiOperationInner class.

Method Summary

Modifier and Type Method and Description
ApiOperationDisplay display()

Get the display property: The object that represents the operation.

Boolean isDataAction()

Get the isDataAction property: The flag that indicates whether the operation applies to data plane.

String name()

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

String origin()

Get the origin property: Origin of the operation.

ApiOperationPropertiesServiceSpecification serviceSpecification()

Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.

void validate()

Validates the instance.

ApiOperationInner withDisplay(ApiOperationDisplay display)

Set the display property: The object that represents the operation.

ApiOperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: The flag that indicates whether the operation applies to data plane.

ApiOperationInner withName(String name)

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

ApiOperationInner withOrigin(String origin)

Set the origin property: Origin of the operation.

ApiOperationInner withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification)

Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.

Methods inherited from java.lang.Object

Constructor Details

ApiOperationInner

public ApiOperationInner()

Creates an instance of ApiOperationInner class.

Method Details

display

public ApiOperationDisplay display()

Get the display property: The object that represents the operation.

Returns:

the display value.

isDataAction

public Boolean isDataAction()

Get the isDataAction property: The flag that indicates whether the operation applies to data plane.

Returns:

the isDataAction 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: Origin of the operation.

Returns:

the origin value.

serviceSpecification

public ApiOperationPropertiesServiceSpecification serviceSpecification()

Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.

Returns:

the serviceSpecification value.

validate

public void validate()

Validates the instance.

withDisplay

public ApiOperationInner withDisplay(ApiOperationDisplay display)

Set the display property: The object that represents the operation.

Parameters:

display - the display value to set.

Returns:

the ApiOperationInner object itself.

withIsDataAction

public ApiOperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: The flag that indicates whether the operation applies to data plane.

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the ApiOperationInner object itself.

withName

public ApiOperationInner withName(String name)

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

Parameters:

name - the name value to set.

Returns:

the ApiOperationInner object itself.

withOrigin

public ApiOperationInner withOrigin(String origin)

Set the origin property: Origin of the operation.

Parameters:

origin - the origin value to set.

Returns:

the ApiOperationInner object itself.

withServiceSpecification

public ApiOperationInner withServiceSpecification(ApiOperationPropertiesServiceSpecification serviceSpecification)

Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.

Parameters:

serviceSpecification - the serviceSpecification value to set.

Returns:

the ApiOperationInner object itself.

Applies to