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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunGetLogResultInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RunGetLogResultInner from the JsonReader.Get the logArtifactLink property: The link to logs in registry for a run on a azure container registry.logLink()Get the logLink property: The link to logs for a run on a azure container registry.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withLogArtifactLink(String logArtifactLink) Set the logArtifactLink property: The link to logs in registry for a run on a azure container registry.withLogLink(String logLink) Set the logLink property: The link to logs for a run on a azure container registry.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RunGetLogResultInner
public RunGetLogResultInner()Creates an instance of RunGetLogResultInner class.
-
-
Method Details
-
logLink
Get the logLink property: The link to logs for a run on a azure container registry.- Returns:
- the logLink value.
-
withLogLink
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
Get the logArtifactLink property: The link to logs in registry for a run on a azure container registry.- Returns:
- the logArtifactLink value.
-
withLogArtifactLink
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
- Specified by:
toJsonin interfacecom.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.
-