Interface CreateDataLakeDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDataLakeDatasetRequest.Builder,
,CreateDataLakeDatasetRequest> SdkBuilder<CreateDataLakeDatasetRequest.Builder,
,CreateDataLakeDatasetRequest> SdkPojo
,SdkRequest.Builder
,SupplyChainRequest.Builder
- Enclosing class:
CreateDataLakeDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the dataset.instanceId
(String instanceId) The Amazon Web Services Supply Chain instance identifier.The name of the dataset.The namespace of the dataset, besides the custom defined namespace, every instance comes with below pre-defined namespaces:overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.partitionSpec
(Consumer<DataLakeDatasetPartitionSpec.Builder> partitionSpec) The partition specification of the dataset.partitionSpec
(DataLakeDatasetPartitionSpec partitionSpec) The partition specification of the dataset.schema
(Consumer<DataLakeDatasetSchema.Builder> schema) The custom schema of the data lake dataset and required for dataset in default and custom namespaces.schema
(DataLakeDatasetSchema schema) The custom schema of the data lake dataset and required for dataset in default and custom namespaces.The tags of the dataset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.supplychain.model.SupplyChainRequest.Builder
build
-
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 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.
-
schema
The custom schema of the data lake dataset and required for dataset in default and custom namespaces.
- Parameters:
schema
- The custom schema of the data lake dataset and required for dataset in default and custom namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The custom schema of the data lake dataset and required for dataset in default and custom namespaces.
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
The partition specification of the dataset. Partitioning can effectively improve the dataset query performance by reducing the amount of data scanned during query execution. But partitioning or not will affect how data get ingested by data ingestion methods, such as SendDataIntegrationEvent's dataset UPSERT will upsert records within partition (instead of within whole dataset). For more details, refer to those data ingestion documentations.
- Parameters:
partitionSpec
- The partition specification of the dataset. Partitioning can effectively improve the dataset query performance by reducing the amount of data scanned during query execution. But partitioning or not will affect how data get ingested by data ingestion methods, such as SendDataIntegrationEvent's dataset UPSERT will upsert records within partition (instead of within whole dataset). For more details, refer to those data ingestion documentations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionSpec
default CreateDataLakeDatasetRequest.Builder partitionSpec(Consumer<DataLakeDatasetPartitionSpec.Builder> partitionSpec) The partition specification of the dataset. Partitioning can effectively improve the dataset query performance by reducing the amount of data scanned during query execution. But partitioning or not will affect how data get ingested by data ingestion methods, such as SendDataIntegrationEvent's dataset UPSERT will upsert records within partition (instead of within whole dataset). For more details, refer to those data ingestion documentations.
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:
-
tags
The tags of the dataset.
- Parameters:
tags
- The tags of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataLakeDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataLakeDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-