ApiOperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.storagecache.models.ApiOperationDisplay

public final class ApiOperationDisplay

The object that represents the operation.

Constructor Summary

Constructor Description
ApiOperationDisplay()

Creates an instance of ApiOperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the operation.

String operation()

Get the operation property: Operation type: Read, write, delete, etc.

String provider()

Get the provider property: Service provider: Microsoft.StorageCache.

String resource()

Get the resource property: Resource on which the operation is performed: Cache, etc.

void validate()

Validates the instance.

ApiOperationDisplay withDescription(String description)

Set the description property: The description of the operation.

ApiOperationDisplay withOperation(String operation)

Set the operation property: Operation type: Read, write, delete, etc.

ApiOperationDisplay withProvider(String provider)

Set the provider property: Service provider: Microsoft.StorageCache.

ApiOperationDisplay withResource(String resource)

Set the resource property: Resource on which the operation is performed: Cache, etc.

Methods inherited from java.lang.Object

Constructor Details

ApiOperationDisplay

public ApiOperationDisplay()

Creates an instance of ApiOperationDisplay class.

Method Details

description

public String description()

Get the description property: The description of the operation.

Returns:

the description value.

operation

public String operation()

Get the operation property: Operation type: Read, write, delete, etc.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Service provider: Microsoft.StorageCache.

Returns:

the provider value.

resource

public String resource()

Get the resource property: Resource on which the operation is performed: Cache, etc.

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public ApiOperationDisplay withDescription(String description)

Set the description property: The description of the operation.

Parameters:

description - the description value to set.

Returns:

the ApiOperationDisplay object itself.

withOperation

public ApiOperationDisplay withOperation(String operation)

Set the operation property: Operation type: Read, write, delete, etc.

Parameters:

operation - the operation value to set.

Returns:

the ApiOperationDisplay object itself.

withProvider

public ApiOperationDisplay withProvider(String provider)

Set the provider property: Service provider: Microsoft.StorageCache.

Parameters:

provider - the provider value to set.

Returns:

the ApiOperationDisplay object itself.

withResource

public ApiOperationDisplay withResource(String resource)

Set the resource property: Resource on which the operation is performed: Cache, etc.

Parameters:

resource - the resource value to set.

Returns:

the ApiOperationDisplay object itself.

Applies to