Class RunGetLogResultInner

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

public final class RunGetLogResultInner extends Object implements com.azure.json.JsonSerializable<RunGetLogResultInner>
The result of get log link operation.
  • Constructor Details

    • RunGetLogResultInner

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

    • logLink

      public String logLink()
      Get the logLink property: The link to logs for a run on a azure container registry.
      Returns:
      the logLink value.
    • withLogLink

      public RunGetLogResultInner withLogLink(String logLink)
      Set the logLink property: The link to logs for a run on a azure container registry.
      Parameters:
      logLink - the logLink value to set.
      Returns:
      the RunGetLogResultInner object itself.
    • logArtifactLink

      public String logArtifactLink()
      Get the logArtifactLink property: The link to logs in registry for a run on a azure container registry.
      Returns:
      the logArtifactLink value.
    • withLogArtifactLink

      public RunGetLogResultInner withLogArtifactLink(String logArtifactLink)
      Set the logArtifactLink property: The link to logs in registry for a run on a azure container registry.
      Parameters:
      logArtifactLink - the logArtifactLink value to set.
      Returns:
      the RunGetLogResultInner 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<RunGetLogResultInner>
      Throws:
      IOException
    • fromJson

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