Class ContainerAttachResponseInner
java.lang.Object
com.azure.resourcemanager.containerinstance.fluent.models.ContainerAttachResponseInner
The information for the output stream from container attach.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpassword()Get the password property: The password to the output stream from the attach.voidvalidate()Validates the instance.Get the webSocketUri property: The uri for the output stream from the attach.withPassword(String password) Set the password property: The password to the output stream from the attach.withWebSocketUri(String webSocketUri) Set the webSocketUri property: The uri for the output stream from the attach.
-
Constructor Details
-
ContainerAttachResponseInner
public ContainerAttachResponseInner()
-
-
Method Details
-
webSocketUri
Get the webSocketUri property: The uri for the output stream from the attach.- Returns:
- the webSocketUri value.
-
withWebSocketUri
Set the webSocketUri property: The uri for the output stream from the attach.- Parameters:
webSocketUri- the webSocketUri value to set.- Returns:
- the ContainerAttachResponseInner object itself.
-
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.
-
withPassword
Set the password property: The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri.- Parameters:
password- the password value to set.- Returns:
- the ContainerAttachResponseInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-