Interface Dataset.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Dataset.Builder,Dataset>,SdkBuilder<Dataset.Builder,Dataset>,SdkPojo
- Enclosing class:
- Dataset
public static interface Dataset.Builder extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dataset.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that owns the dataset.Dataset.BuildercreateDate(Instant createDate)The date and time that the dataset was created.Dataset.BuildercreatedBy(String createdBy)The Amazon Resource Name (ARN) of the user who created the dataset.Dataset.Builderformat(String format)The file format of a dataset that is created from an Amazon S3 file or folder.Dataset.Builderformat(InputFormat format)The file format of a dataset that is created from an Amazon S3 file or folder.default Dataset.BuilderformatOptions(Consumer<FormatOptions.Builder> formatOptions)A set of options that define how DataBrew interprets the data in the dataset.Dataset.BuilderformatOptions(FormatOptions formatOptions)A set of options that define how DataBrew interprets the data in the dataset.default Dataset.Builderinput(Consumer<Input.Builder> input)Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.Dataset.Builderinput(Input input)Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.Dataset.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last modified the dataset.Dataset.BuilderlastModifiedDate(Instant lastModifiedDate)The last modification date and time of the dataset.Dataset.Buildername(String name)The unique name of the dataset.default Dataset.BuilderpathOptions(Consumer<PathOptions.Builder> pathOptions)A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.Dataset.BuilderpathOptions(PathOptions pathOptions)A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.Dataset.BuilderresourceArn(String resourceArn)The unique Amazon Resource Name (ARN) for the dataset.Dataset.Buildersource(String source)The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.Dataset.Buildersource(Source source)The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.Dataset.Buildertags(Map<String,String> tags)Metadata tags that have been applied to the dataset.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
Dataset.Builder accountId(String accountId)
The ID of the Amazon Web Services account that owns the dataset.
- Parameters:
accountId- The ID of the Amazon Web Services account that owns the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Dataset.Builder createdBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the dataset.
- Parameters:
createdBy- The Amazon Resource Name (ARN) of the user who created the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
Dataset.Builder createDate(Instant createDate)
The date and time that the dataset was created.
- Parameters:
createDate- The date and time that the dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Dataset.Builder name(String name)
The unique name of the dataset.
- Parameters:
name- The unique name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
Dataset.Builder format(String format)
The file format of a dataset that is created from an Amazon S3 file or folder.
- Parameters:
format- The file format of a dataset that is created from an Amazon S3 file or folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputFormat,InputFormat
-
format
Dataset.Builder format(InputFormat format)
The file format of a dataset that is created from an Amazon S3 file or folder.
- Parameters:
format- The file format of a dataset that is created from an Amazon S3 file or folder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InputFormat,InputFormat
-
formatOptions
Dataset.Builder formatOptions(FormatOptions formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
- Parameters:
formatOptions- A set of options that define how DataBrew interprets the data in the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatOptions
default Dataset.Builder formatOptions(Consumer<FormatOptions.Builder> formatOptions)
A set of options that define how DataBrew interprets the data in the dataset.
This is a convenience method that creates an instance of theFormatOptions.Builderavoiding the need to create one manually viaFormatOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformatOptions(FormatOptions).- Parameters:
formatOptions- a consumer that will call methods onFormatOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
formatOptions(FormatOptions)
-
input
Dataset.Builder input(Input input)
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
- Parameters:
input- Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
input
default Dataset.Builder input(Consumer<Input.Builder> input)
Information on how DataBrew can find the dataset, in either the Glue Data Catalog or Amazon S3.
This is a convenience method that creates an instance of theInput.Builderavoiding the need to create one manually viaInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinput(Input).- Parameters:
input- a consumer that will call methods onInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
input(Input)
-
lastModifiedDate
Dataset.Builder lastModifiedDate(Instant lastModifiedDate)
The last modification date and time of the dataset.
- Parameters:
lastModifiedDate- The last modification date and time of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Dataset.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the dataset.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last modified the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Dataset.Builder source(String source)
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
-
source
Dataset.Builder source(Source source)
The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
-
pathOptions
Dataset.Builder pathOptions(PathOptions pathOptions)
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
- Parameters:
pathOptions- A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathOptions
default Dataset.Builder pathOptions(Consumer<PathOptions.Builder> pathOptions)
A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
This is a convenience method that creates an instance of thePathOptions.Builderavoiding the need to create one manually viaPathOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topathOptions(PathOptions).- Parameters:
pathOptions- a consumer that will call methods onPathOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pathOptions(PathOptions)
-
tags
Dataset.Builder tags(Map<String,String> tags)
Metadata tags that have been applied to the dataset.
- Parameters:
tags- Metadata tags that have been applied to the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
Dataset.Builder resourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the dataset.
- Parameters:
resourceArn- The unique Amazon Resource Name (ARN) for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-