OperationInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.maintenance.models.OperationInfo

public final class OperationInfo

Information about an operation.

Constructor Summary

Constructor Description
OperationInfo()

Creates an instance of OperationInfo class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the operation.

String operation()

Get the operation property: Name of the operation.

String provider()

Get the provider property: Name of the provider.

String resource()

Get the resource property: Name of the resource type.

void validate()

Validates the instance.

OperationInfo withDescription(String description)

Set the description property: Description of the operation.

OperationInfo withOperation(String operation)

Set the operation property: Name of the operation.

OperationInfo withProvider(String provider)

Set the provider property: Name of the provider.

OperationInfo withResource(String resource)

Set the resource property: Name of the resource type.

Methods inherited from java.lang.Object

Constructor Details

OperationInfo

public OperationInfo()

Creates an instance of OperationInfo class.

Method Details

description

public String description()

Get the description property: Description of the operation.

Returns:

the description value.

operation

public String operation()

Get the operation property: Name of the operation.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Name of the provider.

Returns:

the provider value.

resource

public String resource()

Get the resource property: Name of the resource type.

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public OperationInfo withDescription(String description)

Set the description property: Description of the operation.

Parameters:

description - the description value to set.

Returns:

the OperationInfo object itself.

withOperation

public OperationInfo withOperation(String operation)

Set the operation property: Name of the operation.

Parameters:

operation - the operation value to set.

Returns:

the OperationInfo object itself.

withProvider

public OperationInfo withProvider(String provider)

Set the provider property: Name of the provider.

Parameters:

provider - the provider value to set.

Returns:

the OperationInfo object itself.

withResource

public OperationInfo withResource(String resource)

Set the resource property: Name of the resource type.

Parameters:

resource - the resource value to set.

Returns:

the OperationInfo object itself.

Applies to