次の方法で共有


OperationDisplay Class

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

public final class OperationDisplay

The object that describes the operation.

Constructor Summary

Constructor Description
OperationDisplay()

Creates an instance of OperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The friendly name of the operation.

String operation()

Get the operation property: The operation type.

String provider()

Get the provider property: Friendly name of the resource provider.

String resource()

Get the resource property: The resource type on which the operation is performed.

void validate()

Validates the instance.

OperationDisplay withDescription(String description)

Set the description property: The friendly name of the operation.

OperationDisplay withOperation(String operation)

Set the operation property: The operation type.

OperationDisplay withProvider(String provider)

Set the provider property: Friendly name of the resource provider.

OperationDisplay withResource(String resource)

Set the resource property: The resource type on which the operation is performed.

Methods inherited from java.lang.Object

Constructor Details

OperationDisplay

public OperationDisplay()

Creates an instance of OperationDisplay class.

Method Details

description

public String description()

Get the description property: The friendly name of the operation.

Returns:

the description value.

operation

public String operation()

Get the operation property: The operation type.

For example: read, write, delete, or listKeys/action.

Returns:

the operation value.

provider

public String provider()

Get the provider property: Friendly name of the resource provider.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The resource type on which the operation is performed.

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public OperationDisplay withDescription(String description)

Set the description property: The friendly name of the operation.

Parameters:

description - the description value to set.

Returns:

the OperationDisplay object itself.

withOperation

public OperationDisplay withOperation(String operation)

Set the operation property: The operation type.

For example: read, write, delete, or listKeys/action.

Parameters:

operation - the operation value to set.

Returns:

the OperationDisplay object itself.

withProvider

public OperationDisplay withProvider(String provider)

Set the provider property: 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 property: The resource type on which the operation is performed.

Parameters:

resource - the resource value to set.

Returns:

the OperationDisplay object itself.

Applies to