Partager via


CommandOutputInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.fluent.models.CommandOutputInner

Implements

public final class CommandOutputInner
implements JsonSerializable<CommandOutputInner>

Response of /command api.

Constructor Summary

Constructor Description
CommandOutputInner()

Creates an instance of CommandOutputInner class.

Method Summary

Modifier and Type Method and Description
String commandOutput()

Get the commandOutput property: Output of the command.

static CommandOutputInner fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CommandOutputInner withCommandOutput(String commandOutput)

Set the commandOutput property: Output of the command.

Methods inherited from java.lang.Object

Constructor Details

CommandOutputInner

public CommandOutputInner()

Creates an instance of CommandOutputInner class.

Method Details

commandOutput

public String commandOutput()

Get the commandOutput property: Output of the command.

Returns:

the commandOutput value.

fromJson

public static CommandOutputInner fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCommandOutput

public CommandOutputInner withCommandOutput(String commandOutput)

Set the commandOutput property: Output of the command.

Parameters:

commandOutput - the commandOutput value to set.

Returns:

the CommandOutputInner object itself.

Applies to