Interface DataLakeDataset.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataLakeDataset.Builder,
,DataLakeDataset> SdkBuilder<DataLakeDataset.Builder,
,DataLakeDataset> SdkPojo
- Enclosing class:
DataLakeDataset
-
Method Summary
Modifier and TypeMethodDescriptionThe arn of the dataset.createdTime
(Instant createdTime) The creation time of the dataset.description
(String description) The description of the dataset.instanceId
(String instanceId) The Amazon Web Services Supply Chain instance identifier.lastModifiedTime
(Instant lastModifiedTime) The last modified time of the dataset.The name of the dataset.The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:default DataLakeDataset.Builder
partitionSpec
(Consumer<DataLakeDatasetPartitionSpec.Builder> partitionSpec) Sets the value of the PartitionSpec property for this object.partitionSpec
(DataLakeDatasetPartitionSpec partitionSpec) Sets the value of the PartitionSpec property for this object.default DataLakeDataset.Builder
schema
(Consumer<DataLakeDatasetSchema.Builder> schema) The schema of the dataset.schema
(DataLakeDatasetSchema schema) The schema of 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 Details
-
instanceId
The Amazon Web Services Supply Chain instance identifier.
- Parameters:
instanceId
- The Amazon Web Services Supply Chain instance identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:
-
asc - For information on the Amazon Web Services Supply Chain supported datasets see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
-
default - For datasets with custom user-defined schemas.
- Parameters:
namespace
- The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:-
asc - For information on the Amazon Web Services Supply Chain supported datasets see https://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
-
default - For datasets with custom user-defined schemas.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
name
The name of the dataset. For asc namespace, the name must be one of the supported data entities under https://docs.aws. amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.
- Parameters:
name
- The name of the dataset. For asc namespace, the name must be one of the supported data entities under https ://docs.aws.amazon.com/aws-supply-chain/latest/userguide/data-model-asc.html.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The arn of the dataset.
- Parameters:
arn
- The arn of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the dataset.
- Parameters:
schema
- The schema of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The schema of the dataset.
This is a convenience method that creates an instance of theDataLakeDatasetSchema.Builder
avoiding the need to create one manually viaDataLakeDatasetSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschema(DataLakeDatasetSchema)
.- Parameters:
schema
- a consumer that will call methods onDataLakeDatasetSchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the dataset.
- Parameters:
description
- The description of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
Sets the value of the PartitionSpec property for this object.- Parameters:
partitionSpec
- The new value for the PartitionSpec property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
default DataLakeDataset.Builder partitionSpec(Consumer<DataLakeDatasetPartitionSpec.Builder> partitionSpec) Sets the value of the PartitionSpec property for this object. This is a convenience method that creates an instance of theDataLakeDatasetPartitionSpec.Builder
avoiding the need to create one manually viaDataLakeDatasetPartitionSpec.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topartitionSpec(DataLakeDatasetPartitionSpec)
.- Parameters:
partitionSpec
- a consumer that will call methods onDataLakeDatasetPartitionSpec.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The creation time of the dataset.
- Parameters:
createdTime
- The creation time of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The last modified time of the dataset.
- Parameters:
lastModifiedTime
- The last modified time of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-