RunGetLogResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.RunGetLogResultInner

Implements

public final class RunGetLogResultInner
implements JsonSerializable<RunGetLogResultInner>

The result of get log link operation.

Constructor Summary

Constructor Description
RunGetLogResultInner()

Creates an instance of RunGetLogResultInner class.

Method Summary

Modifier and Type Method and Description
static RunGetLogResultInner fromJson(JsonReader jsonReader)

Reads an instance of RunGetLogResultInner from the JsonReader.

String logArtifactLink()

Get the logArtifactLink property: The link to logs in registry for a run on a azure container registry.

String logLink()

Get the logLink property: The link to logs for a run on a azure container registry.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RunGetLogResultInner withLogArtifactLink(String logArtifactLink)

Set the logArtifactLink property: The link to logs in registry for a run on a azure container registry.

RunGetLogResultInner withLogLink(String logLink)

Set the logLink property: The link to logs for a run on a azure container registry.

Methods inherited from java.lang.Object

Constructor Details

RunGetLogResultInner

public RunGetLogResultInner()

Creates an instance of RunGetLogResultInner class.

Method Details

fromJson

public static RunGetLogResultInner fromJson(JsonReader jsonReader)

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.

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.

logLink

public String logLink()

Get the logLink property: The link to logs for a run on a azure container registry.

Returns:

the logLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to