AvailableOperationDisplay Class

  • java.lang.Object
    • com.azure.resourcemanager.servicefabric.models.AvailableOperationDisplay

public final class AvailableOperationDisplay

Operation supported by the Service Fabric resource provider.

Constructor Summary

Constructor Description
AvailableOperationDisplay()

Creates an instance of AvailableOperationDisplay class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Operation description.

String operation()

Get the operation property: The operation that can be performed.

String provider()

Get the provider property: The name of the provider.

String resource()

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

void validate()

Validates the instance.

AvailableOperationDisplay withDescription(String description)

Set the description property: Operation description.

AvailableOperationDisplay withOperation(String operation)

Set the operation property: The operation that can be performed.

AvailableOperationDisplay withProvider(String provider)

Set the provider property: The name of the provider.

AvailableOperationDisplay withResource(String resource)

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

Methods inherited from java.lang.Object

Constructor Details

AvailableOperationDisplay

public AvailableOperationDisplay()

Creates an instance of AvailableOperationDisplay class.

Method Details

description

public String description()

Get the description property: Operation description.

Returns:

the description value.

operation

public String operation()

Get the operation property: The operation that can be performed.

Returns:

the operation value.

provider

public String provider()

Get the provider property: The name of the provider.

Returns:

the provider value.

resource

public String resource()

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

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public AvailableOperationDisplay withDescription(String description)

Set the description property: Operation description.

Parameters:

description - the description value to set.

Returns:

the AvailableOperationDisplay object itself.

withOperation

public AvailableOperationDisplay withOperation(String operation)

Set the operation property: The operation that can be performed.

Parameters:

operation - the operation value to set.

Returns:

the AvailableOperationDisplay object itself.

withProvider

public AvailableOperationDisplay withProvider(String provider)

Set the provider property: The name of the provider.

Parameters:

provider - the provider value to set.

Returns:

the AvailableOperationDisplay object itself.

withResource

public AvailableOperationDisplay withResource(String resource)

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

Parameters:

resource - the resource value to set.

Returns:

the AvailableOperationDisplay object itself.

Applies to