Dela via


OperationInfo Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.OperationInfo

public class OperationInfo

Information about an operation.

Constructor Summary

Constructor Description
OperationInfo()

Method Summary

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

Get description of the operation.

java.lang.String operation()

Get name of the operation.

java.lang.String provider()

Get name of the provider.

java.lang.String resource()

Get name of the resource type.

OperationInfo withDescription(String description)

Set description of the operation.

OperationInfo withOperation(String operation)

Set name of the operation.

OperationInfo withProvider(String provider)

Set name of the provider.

OperationInfo withResource(String resource)

Set name of the resource type.

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

OperationInfo

public OperationInfo()

Method Details

description

public String description()

Get description of the operation.

Returns:

the description value

operation

public String operation()

Get name of the operation.

Returns:

the operation value

provider

public String provider()

Get name of the provider.

Returns:

the provider value

resource

public String resource()

Get name of the resource type.

Returns:

the resource value

withDescription

public OperationInfo withDescription(String description)

Set description of the operation.

Parameters:

description - the description value to set

Returns:

the OperationInfo object itself.

withOperation

public OperationInfo withOperation(String operation)

Set name of the operation.

Parameters:

operation - the operation value to set

Returns:

the OperationInfo object itself.

withProvider

public OperationInfo withProvider(String provider)

Set name of the provider.

Parameters:

provider - the provider value to set

Returns:

the OperationInfo object itself.

withResource

public OperationInfo withResource(String resource)

Set name of the resource type.

Parameters:

resource - the resource value to set

Returns:

the OperationInfo object itself.

Applies to