@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dataset extends Object implements Serializable, Cloneable, StructuredPojo
Represents a dataset that can be processed by DataBrew.
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Dataset |
clearTagsEntries()
Removes all the entries added into Tags.
|
Dataset |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the AWS account that owns the dataset.
|
Date |
getCreateDate()
The date and time that the dataset was created.
|
String |
getCreatedBy()
The Amazon Resource Name (ARN) of the user who created the dataset.
|
String |
getFormat()
The file format of a dataset that is created from an S3 file or folder.
|
FormatOptions |
getFormatOptions()
A set of options that define how DataBrew interprets the data in the dataset.
|
Input |
getInput()
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
|
String |
getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the dataset.
|
Date |
getLastModifiedDate()
The last modification date and time of the dataset.
|
String |
getName()
The unique name of the dataset.
|
PathOptions |
getPathOptions()
A set of options that defines how DataBrew interprets an S3 path of the dataset.
|
String |
getResourceArn()
The unique Amazon Resource Name (ARN) for the dataset.
|
String |
getSource()
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
|
Map<String,String> |
getTags()
Metadata tags that have been applied to the dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The ID of the AWS account that owns the dataset.
|
void |
setCreateDate(Date createDate)
The date and time that the dataset was created.
|
void |
setCreatedBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the dataset.
|
void |
setFormat(String format)
The file format of a dataset that is created from an S3 file or folder.
|
void |
setFormatOptions(FormatOptions formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
|
void |
setInput(Input input)
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
|
void |
setLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the dataset.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The last modification date and time of the dataset.
|
void |
setName(String name)
The unique name of the dataset.
|
void |
setPathOptions(PathOptions pathOptions)
A set of options that defines how DataBrew interprets an S3 path of the dataset.
|
void |
setResourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the dataset.
|
void |
setSource(String source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
|
void |
setTags(Map<String,String> tags)
Metadata tags that have been applied to the dataset.
|
String |
toString()
Returns a string representation of this object.
|
Dataset |
withAccountId(String accountId)
The ID of the AWS account that owns the dataset.
|
Dataset |
withCreateDate(Date createDate)
The date and time that the dataset was created.
|
Dataset |
withCreatedBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the dataset.
|
Dataset |
withFormat(InputFormat format)
The file format of a dataset that is created from an S3 file or folder.
|
Dataset |
withFormat(String format)
The file format of a dataset that is created from an S3 file or folder.
|
Dataset |
withFormatOptions(FormatOptions formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
|
Dataset |
withInput(Input input)
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
|
Dataset |
withLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the dataset.
|
Dataset |
withLastModifiedDate(Date lastModifiedDate)
The last modification date and time of the dataset.
|
Dataset |
withName(String name)
The unique name of the dataset.
|
Dataset |
withPathOptions(PathOptions pathOptions)
A set of options that defines how DataBrew interprets an S3 path of the dataset.
|
Dataset |
withResourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the dataset.
|
Dataset |
withSource(Source source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
|
Dataset |
withSource(String source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
|
Dataset |
withTags(Map<String,String> tags)
Metadata tags that have been applied to the dataset.
|
public void setAccountId(String accountId)
The ID of the AWS account that owns the dataset.
accountId
- The ID of the AWS account that owns the dataset.public String getAccountId()
The ID of the AWS account that owns the dataset.
public Dataset withAccountId(String accountId)
The ID of the AWS account that owns the dataset.
accountId
- The ID of the AWS account that owns the dataset.public void setCreatedBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the dataset.
createdBy
- The Amazon Resource Name (ARN) of the user who created the dataset.public String getCreatedBy()
The Amazon Resource Name (ARN) of the user who created the dataset.
public Dataset withCreatedBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the dataset.
createdBy
- The Amazon Resource Name (ARN) of the user who created the dataset.public void setCreateDate(Date createDate)
The date and time that the dataset was created.
createDate
- The date and time that the dataset was created.public Date getCreateDate()
The date and time that the dataset was created.
public Dataset withCreateDate(Date createDate)
The date and time that the dataset was created.
createDate
- The date and time that the dataset was created.public void setName(String name)
The unique name of the dataset.
name
- The unique name of the dataset.public String getName()
The unique name of the dataset.
public Dataset withName(String name)
The unique name of the dataset.
name
- The unique name of the dataset.public void setFormat(String format)
The file format of a dataset that is created from an S3 file or folder.
format
- The file format of a dataset that is created from an S3 file or folder.InputFormat
public String getFormat()
The file format of a dataset that is created from an S3 file or folder.
InputFormat
public Dataset withFormat(String format)
The file format of a dataset that is created from an S3 file or folder.
format
- The file format of a dataset that is created from an S3 file or folder.InputFormat
public Dataset withFormat(InputFormat format)
The file format of a dataset that is created from an S3 file or folder.
format
- The file format of a dataset that is created from an S3 file or folder.InputFormat
public void setFormatOptions(FormatOptions formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
formatOptions
- A set of options that define how DataBrew interprets the data in the dataset.public FormatOptions getFormatOptions()
A set of options that define how DataBrew interprets the data in the dataset.
public Dataset withFormatOptions(FormatOptions formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
formatOptions
- A set of options that define how DataBrew interprets the data in the dataset.public void setInput(Input input)
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
input
- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.public Input getInput()
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
public Dataset withInput(Input input)
Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.
input
- Information on how DataBrew can find the dataset, in either the AWS Glue Data Catalog or Amazon S3.public void setLastModifiedDate(Date lastModifiedDate)
The last modification date and time of the dataset.
lastModifiedDate
- The last modification date and time of the dataset.public Date getLastModifiedDate()
The last modification date and time of the dataset.
public Dataset withLastModifiedDate(Date lastModifiedDate)
The last modification date and time of the dataset.
lastModifiedDate
- The last modification date and time of the dataset.public void setLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the dataset.
lastModifiedBy
- The Amazon Resource Name (ARN) of the user who last modified the dataset.public String getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last modified the dataset.
public Dataset withLastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the dataset.
lastModifiedBy
- The Amazon Resource Name (ARN) of the user who last modified the dataset.public void setSource(String source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
source
- The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.Source
public String getSource()
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
Source
public Dataset withSource(String source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
source
- The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.Source
public Dataset withSource(Source source)
The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.
source
- The location of the data for the dataset, either Amazon S3 or the AWS Glue Data Catalog.Source
public void setPathOptions(PathOptions pathOptions)
A set of options that defines how DataBrew interprets an S3 path of the dataset.
pathOptions
- A set of options that defines how DataBrew interprets an S3 path of the dataset.public PathOptions getPathOptions()
A set of options that defines how DataBrew interprets an S3 path of the dataset.
public Dataset withPathOptions(PathOptions pathOptions)
A set of options that defines how DataBrew interprets an S3 path of the dataset.
pathOptions
- A set of options that defines how DataBrew interprets an S3 path of the dataset.public Map<String,String> getTags()
Metadata tags that have been applied to the dataset.
public void setTags(Map<String,String> tags)
Metadata tags that have been applied to the dataset.
tags
- Metadata tags that have been applied to the dataset.public Dataset withTags(Map<String,String> tags)
Metadata tags that have been applied to the dataset.
tags
- Metadata tags that have been applied to the dataset.public Dataset clearTagsEntries()
public void setResourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the dataset.
resourceArn
- The unique Amazon Resource Name (ARN) for the dataset.public String getResourceArn()
The unique Amazon Resource Name (ARN) for the dataset.
public Dataset withResourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the dataset.
resourceArn
- The unique Amazon Resource Name (ARN) for the dataset.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.