OutputPathAssetReference Class

public final class OutputPathAssetReference
extends AssetReferenceBase

Reference to an asset via its path in a job output.

Constructor Summary

Constructor Description
OutputPathAssetReference()

Creates an instance of OutputPathAssetReference class.

Method Summary

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

Reads an instance of OutputPathAssetReference from the JsonReader.

String jobId()

Get the jobId property: ARM resource ID of the job.

String path()

Get the path property: The path of the file/directory in the job output.

ReferenceType referenceType()

Get the referenceType property: [Required] Specifies the type of asset reference.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

OutputPathAssetReference withJobId(String jobId)

Set the jobId property: ARM resource ID of the job.

OutputPathAssetReference withPath(String path)

Set the path property: The path of the file/directory in the job output.

Methods inherited from AssetReferenceBase

Methods inherited from java.lang.Object

Constructor Details

OutputPathAssetReference

public OutputPathAssetReference()

Creates an instance of OutputPathAssetReference class.

Method Details

fromJson

public static OutputPathAssetReference fromJson(JsonReader jsonReader)

Reads an instance of OutputPathAssetReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

jobId

public String jobId()

Get the jobId property: ARM resource ID of the job.

Returns:

the jobId value.

path

public String path()

Get the path property: The path of the file/directory in the job output.

Returns:

the path value.

referenceType

public ReferenceType referenceType()

Get the referenceType property: [Required] Specifies the type of asset reference.

Overrides:

OutputPathAssetReference.referenceType()

Returns:

the referenceType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

OutputPathAssetReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

OutputPathAssetReference.validate()

withJobId

public OutputPathAssetReference withJobId(String jobId)

Set the jobId property: ARM resource ID of the job.

Parameters:

jobId - the jobId value to set.

Returns:

the OutputPathAssetReference object itself.

withPath

public OutputPathAssetReference withPath(String path)

Set the path property: The path of the file/directory in the job output.

Parameters:

path - the path value to set.

Returns:

the OutputPathAssetReference object itself.

Applies to