ContainerAttachResponseInner Class

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

Implements

public final class ContainerAttachResponseInner
implements JsonSerializable<ContainerAttachResponseInner>

The information for the output stream from container attach.

Method Summary

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

Reads an instance of ContainerAttachResponseInner from the JsonReader.

String password()

Get the password property: The password to the output stream from the attach.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String webSocketUri()

Get the webSocketUri property: The uri for the output stream from the attach.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ContainerAttachResponseInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerAttachResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

password

public String password()

Get the password property: The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri.

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 output stream from the attach.

Returns:

the webSocketUri value.

Applies to