Package com.azure.compute.batch.models
Class OutputFileDestination
java.lang.Object
com.azure.compute.batch.models.OutputFileDestination
- All Implemented Interfaces:
com.azure.json.JsonSerializable<OutputFileDestination>
public final class OutputFileDestination
extends Object
implements com.azure.json.JsonSerializable<OutputFileDestination>
The destination to which a file should be uploaded.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OutputFileDestinationfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OutputFileDestination from the JsonReader.Get the container property: A location in Azure blob storage to which files are uploaded.setContainer(OutputFileBlobContainerDestination container) Set the container property: A location in Azure blob storage to which files are uploaded.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) 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
-
OutputFileDestination
public OutputFileDestination()Creates an instance of OutputFileDestination class.
-
-
Method Details
-
getContainer
Get the container property: A location in Azure blob storage to which files are uploaded.- Returns:
- the container value.
-
setContainer
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<OutputFileDestination>- Throws:
IOException
-
fromJson
public static OutputFileDestination fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-