AvailableRpOperationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.fluent.models.AvailableRpOperationInner

Implements

public final class AvailableRpOperationInner
implements JsonSerializable<AvailableRpOperationInner>

An operation that is available in this resource provider.

Constructor Summary

Constructor Description
AvailableRpOperationInner()

Creates an instance of AvailableRpOperationInner class.

Method Summary

Modifier and Type Method and Description
AvailableRpOperationDisplayInfo display()

Get the display property: Display properties of the operation.

static AvailableRpOperationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableRpOperationInner from the JsonReader.

String isDataAction()

Get the isDataAction property: Whether this operation is a data action.

String name()

Get the name property: Operation name.

String origin()

Get the origin property: Operation origin.

OperationMetaServiceSpecification serviceSpecification()

Get the serviceSpecification property: Operation service specification.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AvailableRpOperationInner withDisplay(AvailableRpOperationDisplayInfo display)

Set the display property: Display properties of the operation.

AvailableRpOperationInner withIsDataAction(String isDataAction)

Set the isDataAction property: Whether this operation is a data action.

AvailableRpOperationInner withName(String name)

Set the name property: Operation name.

AvailableRpOperationInner withOrigin(String origin)

Set the origin property: Operation origin.

AvailableRpOperationInner withServiceSpecification(OperationMetaServiceSpecification serviceSpecification)

Set the serviceSpecification property: Operation service specification.

Methods inherited from java.lang.Object

Constructor Details

AvailableRpOperationInner

public AvailableRpOperationInner()

Creates an instance of AvailableRpOperationInner class.

Method Details

display

public AvailableRpOperationDisplayInfo display()

Get the display property: Display properties of the operation.

Returns:

the display value.

fromJson

public static AvailableRpOperationInner fromJson(JsonReader jsonReader)

Reads an instance of AvailableRpOperationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AvailableRpOperationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AvailableRpOperationInner.

isDataAction

public String isDataAction()

Get the isDataAction property: Whether this operation is a data action.

Returns:

the isDataAction value.

name

public String name()

Get the name property: Operation name.

Returns:

the name value.

origin

public String origin()

Get the origin property: Operation origin.

Returns:

the origin value.

serviceSpecification

public OperationMetaServiceSpecification serviceSpecification()

Get the serviceSpecification property: Operation service specification.

Returns:

the serviceSpecification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplay

public AvailableRpOperationInner withDisplay(AvailableRpOperationDisplayInfo display)

Set the display property: Display properties of the operation.

Parameters:

display - the display value to set.

Returns:

the AvailableRpOperationInner object itself.

withIsDataAction

public AvailableRpOperationInner withIsDataAction(String isDataAction)

Set the isDataAction property: Whether this operation is a data action.

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the AvailableRpOperationInner object itself.

withName

public AvailableRpOperationInner withName(String name)

Set the name property: Operation name.

Parameters:

name - the name value to set.

Returns:

the AvailableRpOperationInner object itself.

withOrigin

public AvailableRpOperationInner withOrigin(String origin)

Set the origin property: Operation origin.

Parameters:

origin - the origin value to set.

Returns:

the AvailableRpOperationInner object itself.

withServiceSpecification

public AvailableRpOperationInner withServiceSpecification(OperationMetaServiceSpecification serviceSpecification)

Set the serviceSpecification property: Operation service specification.

Parameters:

serviceSpecification - the serviceSpecification value to set.

Returns:

the AvailableRpOperationInner object itself.

Applies to