Share via


OperationDisplay Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.OperationDisplay

public class OperationDisplay

The object that represents the operation.

Constructor Summary

Constructor Description
OperationDisplay()

Method Summary

Modifier and Type Method and Description
java.lang.String description()

Get description of the operation.

java.lang.String operation()

Get operation type: Read, write, delete, etc.

java.lang.String provider()

Get service provider: Microsoft.Resources.

java.lang.String resource()

Get resource on which the operation is performed: Profile, endpoint, etc.

OperationDisplay withDescription(String description)

Set description of the operation.

OperationDisplay withOperation(String operation)

Set operation type: Read, write, delete, etc.

OperationDisplay withProvider(String provider)

Set service provider: Microsoft.Resources.

OperationDisplay withResource(String resource)

Set resource on which the operation is performed: Profile, endpoint, etc.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OperationDisplay

public OperationDisplay()

Method Details

description

public String description()

Get description of the operation.

Returns:

the description value

operation

public String operation()

Get operation type: Read, write, delete, etc.

Returns:

the operation value

provider

public String provider()

Get service provider: Microsoft.Resources.

Returns:

the provider value

resource

public String resource()

Get resource on which the operation is performed: Profile, endpoint, etc.

Returns:

the resource value

withDescription

public OperationDisplay withDescription(String description)

Set description of the operation.

Parameters:

description - the description value to set

Returns:

the OperationDisplay object itself.

withOperation

public OperationDisplay withOperation(String operation)

Set operation type: Read, write, delete, etc.

Parameters:

operation - the operation value to set

Returns:

the OperationDisplay object itself.

withProvider

public OperationDisplay withProvider(String provider)

Set service provider: Microsoft.Resources.

Parameters:

provider - the provider value to set

Returns:

the OperationDisplay object itself.

withResource

public OperationDisplay withResource(String resource)

Set resource on which the operation is performed: Profile, endpoint, etc.

Parameters:

resource - the resource value to set

Returns:

the OperationDisplay object itself.

Applies to