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 name space of the dataset.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.schema
(Consumer<DataLakeDatasetSchema.Builder> schema) The custom schema of the data lake dataset and is only required when the name space is default.schema
(DataLakeDatasetSchema schema) The custom schema of the data lake dataset and is only required when the name space is default.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, 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 name space of the dataset.
-
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.-
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 is only required when the name space is default.
- Parameters:
schema
- The custom schema of the data lake dataset and is only required when the name space is default.- 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 is only required when the name space is default.
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.
-
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.
-