Class ContainerExecResponseInner

java.lang.Object
com.azure.resourcemanager.containerinstance.fluent.models.ContainerExecResponseInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerExecResponseInner>

public final class ContainerExecResponseInner extends Object implements com.azure.json.JsonSerializable<ContainerExecResponseInner>
The information for the container exec command.
  • Constructor Details

    • ContainerExecResponseInner

      public ContainerExecResponseInner()
      Creates an instance of ContainerExecResponseInner class.
  • Method Details

    • webSocketUri

      public String webSocketUri()
      Get the webSocketUri property: The uri for the exec websocket.
      Returns:
      the webSocketUri value.
    • 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.
    • password

      public String password()
      Get the password property: The password to start the exec command.
      Returns:
      the password 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ContainerExecResponseInner>
      Throws:
      IOException
    • fromJson

      public static ContainerExecResponseInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.