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 name space of the dataset.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, 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 name space of the dataset. The available values are:
-
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 name space of the dataset. The available values are:-
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 name space, 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 name space, 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.
-
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.
-