OperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.marketplaceordering.models.OperationDisplay

public final class OperationDisplay

The object that represents the operation.

Constructor Summary

Constructor Description
OperationDisplay()

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Operation description.

String operation()

Get the operation property: Operation type: Get Agreement, Sign Agreement, Cancel Agreement etc.

String provider()

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

String resource()

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

void validate()

Validates the instance.

OperationDisplay withDescription(String description)

Set the description property: Operation description.

OperationDisplay withOperation(String operation)

Set the operation property: Operation type: Get Agreement, Sign Agreement, Cancel Agreement etc.

OperationDisplay withProvider(String provider)

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

OperationDisplay withResource(String resource)

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

Methods inherited from java.lang.Object

Constructor Details

OperationDisplay

public OperationDisplay()

Method Details

description

public String description()

Get the description property: Operation description.

Returns:

the description value.

operation

public String operation()

Get the operation property: Operation type: Get Agreement, Sign Agreement, Cancel Agreement etc.

Returns:

the operation value.

provider

public String provider()

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

Returns:

the provider value.

resource

public String resource()

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

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public OperationDisplay withDescription(String description)

Set the description property: Operation description.

Parameters:

description - the description value to set.

Returns:

the OperationDisplay object itself.

withOperation

public OperationDisplay withOperation(String operation)

Set the operation property: Operation type: Get Agreement, Sign Agreement, Cancel Agreement etc.

Parameters:

operation - the operation value to set.

Returns:

the OperationDisplay object itself.

withProvider

public OperationDisplay withProvider(String provider)

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

Parameters:

provider - the provider value to set.

Returns:

the OperationDisplay object itself.

withResource

public OperationDisplay withResource(String resource)

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

Parameters:

resource - the resource value to set.

Returns:

the OperationDisplay object itself.

Applies to