RunCommandResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.fluent.models.RunCommandResultInner

Implements

public final class RunCommandResultInner
implements JsonSerializable<RunCommandResultInner>

The RunCommandResult model.

Constructor Summary

Constructor Description
RunCommandResultInner()

Creates an instance of RunCommandResultInner class.

Method Summary

Modifier and Type Method and Description
static RunCommandResultInner fromJson(JsonReader jsonReader)

Reads an instance of RunCommandResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<InstanceViewStatus> value()

Get the value property: Run command operation response.

RunCommandResultInner withValue(List<InstanceViewStatus> value)

Set the value property: Run command operation response.

Methods inherited from java.lang.Object

Constructor Details

RunCommandResultInner

public RunCommandResultInner()

Creates an instance of RunCommandResultInner class.

Method Details

fromJson

public static RunCommandResultInner fromJson(JsonReader jsonReader)

Reads an instance of RunCommandResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: Run command operation response.

Returns:

the value value.

withValue

public RunCommandResultInner withValue(List value)

Set the value property: Run command operation response.

Parameters:

value - the value value to set.

Returns:

the RunCommandResultInner object itself.

Applies to