OperationInner Class

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

public final class OperationInner

Represents an operation returned by the GetOperations request.

Constructor Summary

Constructor Description
OperationInner()

Creates an instance of OperationInner class.

Method Summary

Modifier and Type Method and Description
OperationInfo display()

Get the display property: Display name of the operation.

Boolean isDataAction()

Get the isDataAction property: Indicates whether the operation is a data action.

String name()

Get the name property: Name of the operation.

String origin()

Get the origin property: Origin of the operation.

Object properties()

Get the properties property: Properties of the operation.

void validate()

Validates the instance.

OperationInner withDisplay(OperationInfo display)

Set the display property: Display name of the operation.

OperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Indicates whether the operation is a data action.

OperationInner withName(String name)

Set the name property: Name of the operation.

OperationInner withOrigin(String origin)

Set the origin property: Origin of the operation.

OperationInner withProperties(Object properties)

Set the properties property: Properties of the operation.

Methods inherited from java.lang.Object

Constructor Details

OperationInner

public OperationInner()

Creates an instance of OperationInner class.

Method Details

display

public OperationInfo display()

Get the display property: Display name of the operation.

Returns:

the display value.

isDataAction

public Boolean isDataAction()

Get the isDataAction property: Indicates whether the operation is a data action.

Returns:

the isDataAction value.

name

public String name()

Get the name property: Name of the operation.

Returns:

the name value.

origin

public String origin()

Get the origin property: Origin of the operation.

Returns:

the origin value.

properties

public Object properties()

Get the properties property: Properties of the operation.

Returns:

the properties value.

validate

public void validate()

Validates the instance.

withDisplay

public OperationInner withDisplay(OperationInfo display)

Set the display property: Display name of the operation.

Parameters:

display - the display value to set.

Returns:

the OperationInner object itself.

withIsDataAction

public OperationInner withIsDataAction(Boolean isDataAction)

Set the isDataAction property: Indicates whether the operation is a data action.

Parameters:

isDataAction - the isDataAction 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.

withOrigin

public OperationInner withOrigin(String origin)

Set the origin property: Origin of the operation.

Parameters:

origin - the origin value to set.

Returns:

the OperationInner object itself.

withProperties

public OperationInner withProperties(Object properties)

Set the properties property: Properties of the operation.

Parameters:

properties - the properties value to set.

Returns:

the OperationInner object itself.

Applies to