Class AmazonS3Dataset
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.Dataset
-
- com.azure.resourcemanager.datafactory.models.AmazonS3Dataset
-
public final class AmazonS3Dataset extends Dataset
A single Amazon Simple Storage Service (S3) object or a set of S3 objects.
-
-
Constructor Summary
Constructors Constructor Description AmazonS3Dataset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectbucketName()Get the bucketName property: The name of the Amazon S3 bucket.DatasetCompressioncompression()Get the compression property: The data compression method used for the Amazon S3 object.DatasetStorageFormatformat()Get the format property: The format of files.Objectkey()Get the key property: The key of the Amazon S3 object.ObjectmodifiedDatetimeEnd()Get the modifiedDatetimeEnd property: The end of S3 object's modified datetime.ObjectmodifiedDatetimeStart()Get the modifiedDatetimeStart property: The start of S3 object's modified datetime.Objectprefix()Get the prefix property: The prefix filter for the S3 object name.voidvalidate()Validates the instance.Objectversion()Get the version property: The version for the S3 object.AmazonS3DatasetwithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the Dataset.AmazonS3DatasetwithBucketName(Object bucketName)Set the bucketName property: The name of the Amazon S3 bucket.AmazonS3DatasetwithCompression(DatasetCompression compression)Set the compression property: The data compression method used for the Amazon S3 object.AmazonS3DatasetwithDescription(String description)Set the description property: Dataset description.AmazonS3DatasetwithFolder(DatasetFolder folder)Set the folder property: The folder that this Dataset is in.AmazonS3DatasetwithFormat(DatasetStorageFormat format)Set the format property: The format of files.AmazonS3DatasetwithKey(Object key)Set the key property: The key of the Amazon S3 object.AmazonS3DatasetwithLinkedServiceName(LinkedServiceReference linkedServiceName)Set the linkedServiceName property: Linked service reference.AmazonS3DatasetwithModifiedDatetimeEnd(Object modifiedDatetimeEnd)Set the modifiedDatetimeEnd property: The end of S3 object's modified datetime.AmazonS3DatasetwithModifiedDatetimeStart(Object modifiedDatetimeStart)Set the modifiedDatetimeStart property: The start of S3 object's modified datetime.AmazonS3DatasetwithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for dataset.AmazonS3DatasetwithPrefix(Object prefix)Set the prefix property: The prefix filter for the S3 object name.AmazonS3DatasetwithSchema(Object schema)Set the schema property: Columns that define the physical type schema of the dataset.AmazonS3DatasetwithStructure(Object structure)Set the structure property: Columns that define the structure of the dataset.AmazonS3DatasetwithVersion(Object version)Set the version property: The version for the S3 object.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.Dataset
additionalProperties, annotations, description, folder, linkedServiceName, parameters, schema, structure, withAdditionalProperties
-
-
-
-
Method Detail
-
withDescription
public AmazonS3Dataset withDescription(String description)
Set the description property: Dataset description.- Overrides:
withDescriptionin classDataset- Parameters:
description- the description value to set.- Returns:
- the Dataset object itself.
-
withStructure
public AmazonS3Dataset withStructure(Object structure)
Set the structure property: Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement.- Overrides:
withStructurein classDataset- Parameters:
structure- the structure value to set.- Returns:
- the Dataset object itself.
-
withSchema
public AmazonS3Dataset withSchema(Object schema)
Set the schema property: Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement.- Overrides:
withSchemain classDataset- Parameters:
schema- the schema value to set.- Returns:
- the Dataset object itself.
-
withLinkedServiceName
public AmazonS3Dataset withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.- Overrides:
withLinkedServiceNamein classDataset- Parameters:
linkedServiceName- the linkedServiceName value to set.- Returns:
- the Dataset object itself.
-
withParameters
public AmazonS3Dataset withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for dataset.- Overrides:
withParametersin classDataset- Parameters:
parameters- the parameters value to set.- Returns:
- the Dataset object itself.
-
withAnnotations
public AmazonS3Dataset withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the Dataset.- Overrides:
withAnnotationsin classDataset- Parameters:
annotations- the annotations value to set.- Returns:
- the Dataset object itself.
-
withFolder
public AmazonS3Dataset withFolder(DatasetFolder folder)
Set the folder property: The folder that this Dataset is in. If not specified, Dataset will appear at the root level.- Overrides:
withFolderin classDataset- Parameters:
folder- the folder value to set.- Returns:
- the Dataset object itself.
-
bucketName
public Object bucketName()
Get the bucketName property: The name of the Amazon S3 bucket. Type: string (or Expression with resultType string).- Returns:
- the bucketName value.
-
withBucketName
public AmazonS3Dataset withBucketName(Object bucketName)
Set the bucketName property: The name of the Amazon S3 bucket. Type: string (or Expression with resultType string).- Parameters:
bucketName- the bucketName value to set.- Returns:
- the AmazonS3Dataset object itself.
-
key
public Object key()
Get the key property: The key of the Amazon S3 object. Type: string (or Expression with resultType string).- Returns:
- the key value.
-
withKey
public AmazonS3Dataset withKey(Object key)
Set the key property: The key of the Amazon S3 object. Type: string (or Expression with resultType string).- Parameters:
key- the key value to set.- Returns:
- the AmazonS3Dataset object itself.
-
prefix
public Object prefix()
Get the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType string).- Returns:
- the prefix value.
-
withPrefix
public AmazonS3Dataset withPrefix(Object prefix)
Set the prefix property: The prefix filter for the S3 object name. Type: string (or Expression with resultType string).- Parameters:
prefix- the prefix value to set.- Returns:
- the AmazonS3Dataset object itself.
-
version
public Object version()
Get the version property: The version for the S3 object. Type: string (or Expression with resultType string).- Returns:
- the version value.
-
withVersion
public AmazonS3Dataset withVersion(Object version)
Set the version property: The version for the S3 object. Type: string (or Expression with resultType string).- Parameters:
version- the version value to set.- Returns:
- the AmazonS3Dataset object itself.
-
modifiedDatetimeStart
public Object modifiedDatetimeStart()
Get the modifiedDatetimeStart property: The start of S3 object's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeStart value.
-
withModifiedDatetimeStart
public AmazonS3Dataset withModifiedDatetimeStart(Object modifiedDatetimeStart)
Set the modifiedDatetimeStart property: The start of S3 object's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeStart- the modifiedDatetimeStart value to set.- Returns:
- the AmazonS3Dataset object itself.
-
modifiedDatetimeEnd
public Object modifiedDatetimeEnd()
Get the modifiedDatetimeEnd property: The end of S3 object's modified datetime. Type: string (or Expression with resultType string).- Returns:
- the modifiedDatetimeEnd value.
-
withModifiedDatetimeEnd
public AmazonS3Dataset withModifiedDatetimeEnd(Object modifiedDatetimeEnd)
Set the modifiedDatetimeEnd property: The end of S3 object's modified datetime. Type: string (or Expression with resultType string).- Parameters:
modifiedDatetimeEnd- the modifiedDatetimeEnd value to set.- Returns:
- the AmazonS3Dataset object itself.
-
format
public DatasetStorageFormat format()
Get the format property: The format of files.- Returns:
- the format value.
-
withFormat
public AmazonS3Dataset withFormat(DatasetStorageFormat format)
Set the format property: The format of files.- Parameters:
format- the format value to set.- Returns:
- the AmazonS3Dataset object itself.
-
compression
public DatasetCompression compression()
Get the compression property: The data compression method used for the Amazon S3 object.- Returns:
- the compression value.
-
withCompression
public AmazonS3Dataset withCompression(DatasetCompression compression)
Set the compression property: The data compression method used for the Amazon S3 object.- Parameters:
compression- the compression value to set.- Returns:
- the AmazonS3Dataset object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDataset- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-