Class CredentialResultsInner

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

public final class CredentialResultsInner extends Object implements com.azure.json.JsonSerializable<CredentialResultsInner>
The list credential result response.
  • Constructor Details

    • CredentialResultsInner

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

    • kubeconfigs

      public List<CredentialResult> kubeconfigs()
      Get the kubeconfigs property: Base64-encoded Kubernetes configuration file.
      Returns:
      the kubeconfigs value.
    • 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<CredentialResultsInner>
      Throws:
      IOException
    • fromJson

      public static CredentialResultsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of CredentialResultsInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of CredentialResultsInner 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 CredentialResultsInner.