Share via


OutputFileDestination Class

  • java.lang.Object
    • com.azure.compute.batch.models.OutputFileDestination

Implements

public final class OutputFileDestination
implements JsonSerializable<OutputFileDestination>

The destination to which a file should be uploaded.

Constructor Summary

Constructor Description
OutputFileDestination()

Creates an instance of OutputFileDestination class.

Method Summary

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

Reads an instance of OutputFileDestination from the JsonReader.

OutputFileBlobContainerDestination getContainer()

Get the container property: A location in Azure blob storage to which files are uploaded.

OutputFileDestination setContainer(OutputFileBlobContainerDestination container)

Set the container property: A location in Azure blob storage to which files are uploaded.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

OutputFileDestination

public OutputFileDestination()

Creates an instance of OutputFileDestination class.

Method Details

fromJson

public static OutputFileDestination fromJson(JsonReader jsonReader)

Reads an instance of OutputFileDestination from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

getContainer

public OutputFileBlobContainerDestination getContainer()

Get the container property: A location in Azure blob storage to which files are uploaded.

Returns:

the container value.

setContainer

public OutputFileDestination setContainer(OutputFileBlobContainerDestination container)

Set the container property: A location in Azure blob storage to which files are uploaded.

Parameters:

container - the container value to set.

Returns:

the OutputFileDestination object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to