public static class CreateBatchOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
CreateBatchOptions.Builder()
Instantiates a new builder.
|
CreateBatchOptions.Builder(java.lang.String function,
java.io.InputStream inputCredentialsFile,
java.lang.String inputBucketLocation,
java.lang.String inputBucketName,
java.io.InputStream outputCredentialsFile,
java.lang.String outputBucketLocation,
java.lang.String outputBucketName)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
CreateBatchOptions |
build()
Builds a CreateBatchOptions.
|
CreateBatchOptions.Builder |
function(java.lang.String function)
Set the function.
|
CreateBatchOptions.Builder |
inputBucketLocation(java.lang.String inputBucketLocation)
Set the inputBucketLocation.
|
CreateBatchOptions.Builder |
inputBucketName(java.lang.String inputBucketName)
Set the inputBucketName.
|
CreateBatchOptions.Builder |
inputCredentialsFile(java.io.File inputCredentialsFile)
Set the inputCredentialsFile.
|
CreateBatchOptions.Builder |
inputCredentialsFile(java.io.InputStream inputCredentialsFile)
Set the inputCredentialsFile.
|
CreateBatchOptions.Builder |
model(java.lang.String model)
Set the model.
|
CreateBatchOptions.Builder |
outputBucketLocation(java.lang.String outputBucketLocation)
Set the outputBucketLocation.
|
CreateBatchOptions.Builder |
outputBucketName(java.lang.String outputBucketName)
Set the outputBucketName.
|
CreateBatchOptions.Builder |
outputCredentialsFile(java.io.File outputCredentialsFile)
Set the outputCredentialsFile.
|
CreateBatchOptions.Builder |
outputCredentialsFile(java.io.InputStream outputCredentialsFile)
Set the outputCredentialsFile.
|
public CreateBatchOptions.Builder()
public CreateBatchOptions.Builder(java.lang.String function, java.io.InputStream inputCredentialsFile, java.lang.String inputBucketLocation, java.lang.String inputBucketName, java.io.InputStream outputCredentialsFile, java.lang.String outputBucketLocation, java.lang.String outputBucketName)
function
- the functioninputCredentialsFile
- the inputCredentialsFileinputBucketLocation
- the inputBucketLocationinputBucketName
- the inputBucketNameoutputCredentialsFile
- the outputCredentialsFileoutputBucketLocation
- the outputBucketLocationoutputBucketName
- the outputBucketNamepublic CreateBatchOptions build()
public CreateBatchOptions.Builder function(java.lang.String function)
function
- the functionpublic CreateBatchOptions.Builder inputCredentialsFile(java.io.InputStream inputCredentialsFile)
inputCredentialsFile
- the inputCredentialsFilepublic CreateBatchOptions.Builder inputBucketLocation(java.lang.String inputBucketLocation)
inputBucketLocation
- the inputBucketLocationpublic CreateBatchOptions.Builder inputBucketName(java.lang.String inputBucketName)
inputBucketName
- the inputBucketNamepublic CreateBatchOptions.Builder outputCredentialsFile(java.io.InputStream outputCredentialsFile)
outputCredentialsFile
- the outputCredentialsFilepublic CreateBatchOptions.Builder outputBucketLocation(java.lang.String outputBucketLocation)
outputBucketLocation
- the outputBucketLocationpublic CreateBatchOptions.Builder outputBucketName(java.lang.String outputBucketName)
outputBucketName
- the outputBucketNamepublic CreateBatchOptions.Builder model(java.lang.String model)
model
- the modelpublic CreateBatchOptions.Builder inputCredentialsFile(java.io.File inputCredentialsFile) throws java.io.FileNotFoundException
inputCredentialsFile
- the inputCredentialsFilejava.io.FileNotFoundException
- if the file could not be foundpublic CreateBatchOptions.Builder outputCredentialsFile(java.io.File outputCredentialsFile) throws java.io.FileNotFoundException
outputCredentialsFile
- the outputCredentialsFilejava.io.FileNotFoundException
- if the file could not be found