OperationDisplay Class

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

public class OperationDisplay

Operation Display. The object that describes the operation.

Constructor Summary

Constructor Description
OperationDisplay()

Method Summary

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

Get a description of the operation.

java.lang.String operation()

Get the type of operation.

java.lang.String provider()

Get friendly name of the resource provider.

java.lang.String resource()

Get the resource type on which the operation is performed.

OperationDisplay withDescription(String description)

Set a description of the operation.

OperationDisplay withOperation(String operation)

Set the type of operation.

OperationDisplay withProvider(String provider)

Set friendly name of the resource provider.

OperationDisplay withResource(String resource)

Set the resource type on which the operation is performed.

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 a description of the operation.

Returns:

the description value

operation

public String operation()

Get the type of operation. For example: read, write, delete.

Returns:

the operation value

provider

public String provider()

Get friendly name of the resource provider.

Returns:

the provider value

resource

public String resource()

Get the resource type on which the operation is performed.

Returns:

the resource value

withDescription

public OperationDisplay withDescription(String description)

Set a description of the operation.

Parameters:

description - the description value to set

Returns:

the OperationDisplay object itself.

withOperation

public OperationDisplay withOperation(String operation)

Set the type of operation. For example: read, write, delete.

Parameters:

operation - the operation value to set

Returns:

the OperationDisplay object itself.

withProvider

public OperationDisplay withProvider(String provider)

Set friendly name of the resource provider.

Parameters:

provider - the provider value to set

Returns:

the OperationDisplay object itself.

withResource

public OperationDisplay withResource(String resource)

Set the resource type on which the operation is performed.

Parameters:

resource - the resource value to set

Returns:

the OperationDisplay object itself.

Applies to