Share via


RunOutputProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.imagebuilder.fluent.models.RunOutputProperties

Implements

public final class RunOutputProperties
implements JsonSerializable<RunOutputProperties>

Describes the properties of a run output.

Constructor Summary

Constructor Description
RunOutputProperties()

Creates an instance of RunOutputProperties class.

Method Summary

Modifier and Type Method and Description
String artifactId()

Get the artifactId property: The resource id of the artifact.

String artifactUri()

Get the artifactUri property: The location URI of the artifact.

static RunOutputProperties fromJson(JsonReader jsonReader)

Reads an instance of RunOutputProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RunOutputProperties withArtifactId(String artifactId)

Set the artifactId property: The resource id of the artifact.

RunOutputProperties withArtifactUri(String artifactUri)

Set the artifactUri property: The location URI of the artifact.

Methods inherited from java.lang.Object

Constructor Details

RunOutputProperties

public RunOutputProperties()

Creates an instance of RunOutputProperties class.

Method Details

artifactId

public String artifactId()

Get the artifactId property: The resource id of the artifact.

Returns:

the artifactId value.

artifactUri

public String artifactUri()

Get the artifactUri property: The location URI of the artifact.

Returns:

the artifactUri value.

fromJson

public static RunOutputProperties fromJson(JsonReader jsonReader)

Reads an instance of RunOutputProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RunOutputProperties 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 RunOutputProperties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withArtifactId

public RunOutputProperties withArtifactId(String artifactId)

Set the artifactId property: The resource id of the artifact.

Parameters:

artifactId - the artifactId value to set.

Returns:

the RunOutputProperties object itself.

withArtifactUri

public RunOutputProperties withArtifactUri(String artifactUri)

Set the artifactUri property: The location URI of the artifact.

Parameters:

artifactUri - the artifactUri value to set.

Returns:

the RunOutputProperties object itself.

Applies to