Class AmazonS3Location
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.DatasetLocation
-
- com.azure.resourcemanager.datafactory.models.AmazonS3Location
-
public final class AmazonS3Location extends DatasetLocation
The location of amazon S3 dataset.
-
-
Constructor Summary
Constructors Constructor Description AmazonS3Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
bucketName()
Get the bucketName property: Specify the bucketName of amazon S3.void
validate()
Validates the instance.Object
version()
Get the version property: Specify the version of amazon S3.AmazonS3Location
withBucketName(Object bucketName)
Set the bucketName property: Specify the bucketName of amazon S3.AmazonS3Location
withFileName(Object fileName)
Set the fileName property: Specify the file name of dataset.AmazonS3Location
withFolderPath(Object folderPath)
Set the folderPath property: Specify the folder path of dataset.AmazonS3Location
withVersion(Object version)
Set the version property: Specify the version of amazon S3.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.DatasetLocation
additionalProperties, fileName, folderPath, withAdditionalProperties
-
-
-
-
Method Detail
-
bucketName
public Object bucketName()
Get the bucketName property: Specify the bucketName of amazon S3. Type: string (or Expression with resultType string).- Returns:
- the bucketName value.
-
withBucketName
public AmazonS3Location withBucketName(Object bucketName)
Set the bucketName property: Specify the bucketName of amazon S3. Type: string (or Expression with resultType string).- Parameters:
bucketName
- the bucketName value to set.- Returns:
- the AmazonS3Location object itself.
-
version
public Object version()
Get the version property: Specify the version of amazon S3. Type: string (or Expression with resultType string).- Returns:
- the version value.
-
withVersion
public AmazonS3Location withVersion(Object version)
Set the version property: Specify the version of amazon S3. Type: string (or Expression with resultType string).- Parameters:
version
- the version value to set.- Returns:
- the AmazonS3Location object itself.
-
withFolderPath
public AmazonS3Location withFolderPath(Object folderPath)
Set the folderPath property: Specify the folder path of dataset. Type: string (or Expression with resultType string).- Overrides:
withFolderPath
in classDatasetLocation
- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the DatasetLocation object itself.
-
withFileName
public AmazonS3Location withFileName(Object fileName)
Set the fileName property: Specify the file name of dataset. Type: string (or Expression with resultType string).- Overrides:
withFileName
in classDatasetLocation
- Parameters:
fileName
- the fileName value to set.- Returns:
- the DatasetLocation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatasetLocation
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-