Share via


OperationResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.confluent.fluent.models.OperationResultInner

Implements

public final class OperationResultInner
implements JsonSerializable<OperationResultInner>

An Confluent REST API operation.

Constructor Summary

Constructor Description
OperationResultInner()

Creates an instance of OperationResultInner class.

Method Summary

Modifier and Type Method and Description
OperationDisplay display()

Get the display property: The object that represents the operation.

static OperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of OperationResultInner from the JsonReader.

Boolean isDataAction()

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

String name()

Get the name property: Operation name: {provider}/{resource}/{operation}.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OperationResultInner withDisplay(OperationDisplay display)

Set the display property: The object that represents the operation.

OperationResultInner withIsDataAction(Boolean isDataAction)

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

OperationResultInner withName(String name)

Set the name property: Operation name: {provider}/{resource}/{operation}.

Methods inherited from java.lang.Object

Constructor Details

OperationResultInner

public OperationResultInner()

Creates an instance of OperationResultInner class.

Method Details

display

public OperationDisplay display()

Get the display property: The object that represents the operation.

Returns:

the display value.

fromJson

public static OperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of OperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of OperationResultInner 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 OperationResultInner.

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: Operation name: {provider}/{resource}/{operation}.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisplay

public OperationResultInner withDisplay(OperationDisplay display)

Set the display property: The object that represents the operation.

Parameters:

display - the display value to set.

Returns:

the OperationResultInner object itself.

withIsDataAction

public OperationResultInner withIsDataAction(Boolean isDataAction)

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

Parameters:

isDataAction - the isDataAction value to set.

Returns:

the OperationResultInner object itself.

withName

public OperationResultInner withName(String name)

Set the name property: Operation name: {provider}/{resource}/{operation}.

Parameters:

name - the name value to set.

Returns:

the OperationResultInner object itself.

Applies to