OperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storageimportexport.fluent.models.OperationInner

public final class OperationInner

Describes a supported operation by the Storage Import/Export job API.

Constructor Summary

Constructor Description
OperationInner()

Creates an instance of OperationInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Short description of the operation.

String name()

Get the name property: Name of the operation.

String operation()

Get the operation property: The display name of the operation.

String provider()

Get the provider property: The resource provider name to which the operation belongs.

String resource()

Get the resource property: The name of the resource to which the operation belongs.

void validate()

Validates the instance.

OperationInner withDescription(String description)

Set the description property: Short description of the operation.

OperationInner withName(String name)

Set the name property: Name of the operation.

OperationInner withOperation(String operation)

Set the operation property: The display name of the operation.

OperationInner withProvider(String provider)

Set the provider property: The resource provider name to which the operation belongs.

OperationInner withResource(String resource)

Set the resource property: The name of the resource to which the operation belongs.

Methods inherited from java.lang.Object

Constructor Details

OperationInner

public OperationInner()

Creates an instance of OperationInner class.

Method Details

description

public String description()

Get the description property: Short description of the operation.

Returns:

the description value.

name

public String name()

Get the name property: Name of the operation.

Returns:

the name value.

operation

public String operation()

Get the operation property: The display name of the operation.

Returns:

the operation value.

provider

public String provider()

Get the provider property: The resource provider name to which the operation belongs.

Returns:

the provider value.

resource

public String resource()

Get the resource property: The name of the resource to which the operation belongs.

Returns:

the resource value.

validate

public void validate()

Validates the instance.

withDescription

public OperationInner withDescription(String description)

Set the description property: Short description of the operation.

Parameters:

description - the description value to set.

Returns:

the OperationInner object itself.

withName

public OperationInner withName(String name)

Set the name property: Name of the operation.

Parameters:

name - the name value to set.

Returns:

the OperationInner object itself.

withOperation

public OperationInner withOperation(String operation)

Set the operation property: The display name of the operation.

Parameters:

operation - the operation value to set.

Returns:

the OperationInner object itself.

withProvider

public OperationInner withProvider(String provider)

Set the provider property: The resource provider name to which the operation belongs.

Parameters:

provider - the provider value to set.

Returns:

the OperationInner object itself.

withResource

public OperationInner withResource(String resource)

Set the resource property: The name of the resource to which the operation belongs.

Parameters:

resource - the resource value to set.

Returns:

the OperationInner object itself.

Applies to