Interface ImportDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportDatasetRequest.Builder,
,ImportDatasetRequest> LookoutEquipmentRequest.Builder
,SdkBuilder<ImportDatasetRequest.Builder,
,ImportDatasetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ImportDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique identifier for the request.datasetName
(String datasetName) The name of the machine learning dataset to be created.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverSideKmsKeyId
(String serverSideKmsKeyId) Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.sourceDatasetArn
(String sourceDatasetArn) The Amazon Resource Name (ARN) of the dataset to import.tags
(Collection<Tag> tags) Any tags associated with the dataset to be created.tags
(Consumer<Tag.Builder>... tags) Any tags associated with the dataset to be created.Any tags associated with the dataset to be created.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.services.lookoutequipment.model.LookoutEquipmentRequest.Builder
build
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
-
sourceDatasetArn
The Amazon Resource Name (ARN) of the dataset to import.
- Parameters:
sourceDatasetArn
- The Amazon Resource Name (ARN) of the dataset to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
The name of the machine learning dataset to be created. If the dataset already exists, Amazon Lookout for Equipment overwrites the existing dataset. If you don't specify this field, it is filled with the name of the source dataset.
- Parameters:
datasetName
- The name of the machine learning dataset to be created. If the dataset already exists, Amazon Lookout for Equipment overwrites the existing dataset. If you don't specify this field, it is filled with the name of the source dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
- Parameters:
clientToken
- A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverSideKmsKeyId
Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.
- Parameters:
serverSideKmsKeyId
- Provides the identifier of the KMS key key used to encrypt model data by Amazon Lookout for Equipment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the dataset to be created.
- Parameters:
tags
- Any tags associated with the dataset to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the dataset to be created.
- Parameters:
tags
- Any tags associated with the dataset to be created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags associated with the dataset to be created.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ImportDatasetRequest.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
ImportDatasetRequest.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.
-