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 |
inputCredentialsFilename(java.lang.String inputCredentialsFilename)
Set the inputCredentialsFilename.
|
CreateBatchOptions.Builder |
modelId(java.lang.String modelId)
Set the modelId.
|
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.
|
CreateBatchOptions.Builder |
outputCredentialsFilename(java.lang.String outputCredentialsFilename)
Set the outputCredentialsFilename.
|
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 inputCredentialsFilename(java.lang.String inputCredentialsFilename)
inputCredentialsFilename
- the inputCredentialsFilenamepublic 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 outputCredentialsFilename(java.lang.String outputCredentialsFilename)
outputCredentialsFilename
- the outputCredentialsFilenamepublic CreateBatchOptions.Builder outputBucketLocation(java.lang.String outputBucketLocation)
outputBucketLocation
- the outputBucketLocationpublic CreateBatchOptions.Builder outputBucketName(java.lang.String outputBucketName)
outputBucketName
- the outputBucketNamepublic CreateBatchOptions.Builder modelId(java.lang.String modelId)
modelId
- the modelIdpublic 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