ContainerExecResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerinstance.fluent.models.ContainerExecResponseInner

Implements

public final class ContainerExecResponseInner
implements JsonSerializable<ContainerExecResponseInner>

The information for the container exec command.

Constructor Summary

Constructor Description
ContainerExecResponseInner()

Creates an instance of ContainerExecResponseInner class.

Method Summary

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

Reads an instance of ContainerExecResponseInner from the JsonReader.

String password()

Get the password property: The password to start the exec command.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String webSocketUri()

Get the webSocketUri property: The uri for the exec websocket.

ContainerExecResponseInner withPassword(String password)

Set the password property: The password to start the exec command.

ContainerExecResponseInner withWebSocketUri(String webSocketUri)

Set the webSocketUri property: The uri for the exec websocket.

Methods inherited from java.lang.Object

Constructor Details

ContainerExecResponseInner

public ContainerExecResponseInner()

Creates an instance of ContainerExecResponseInner class.

Method Details

fromJson

public static ContainerExecResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerExecResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

password

public String password()

Get the password property: The password to start the exec command.

Returns:

the password value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

webSocketUri

public String webSocketUri()

Get the webSocketUri property: The uri for the exec websocket.

Returns:

the webSocketUri value.

withPassword

public ContainerExecResponseInner withPassword(String password)

Set the password property: The password to start the exec command.

Parameters:

password - the password value to set.

Returns:

the ContainerExecResponseInner object itself.

withWebSocketUri

public ContainerExecResponseInner withWebSocketUri(String webSocketUri)

Set the webSocketUri property: The uri for the exec websocket.

Parameters:

webSocketUri - the webSocketUri value to set.

Returns:

the ContainerExecResponseInner object itself.

Applies to