Interface CreateDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectHealthRequest.Builder,CopyableBuilder<CreateDatasetRequest.Builder,,CreateDatasetRequest> SdkBuilder<CreateDatasetRequest.Builder,,CreateDatasetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier to ensure that the operation completes no more than one time.default CreateDatasetRequest.Builderconfig(Consumer<DatasetConfig.Builder> config) The configuration of the dataset.config(DatasetConfig config) The configuration of the dataset.The unique identifier of the parent Domain.A name for the dataset.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connecthealth.model.ConnectHealthRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainId
The unique identifier of the parent Domain.
- Parameters:
domainId- The unique identifier of the parent Domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the dataset.
- Parameters:
name- A name for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.
- Parameters:
config- The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
The configuration of the dataset. The member that you set determines the dataset type. You can't change the configuration after you create the dataset.
This is a convenience method that creates an instance of theDatasetConfig.Builderavoiding the need to create one manually viaDatasetConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfig(DatasetConfig).- Parameters:
config- a consumer that will call methods onDatasetConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation returns the dataset that the first request created. If you reuse a clientToken with different parameters, the request fails with ConflictException. Use a new clientToken for a request with different parameters.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the operation returns the dataset that the first request created. If you reuse a clientToken with different parameters, the request fails with ConflictException. Use a new clientToken for a request with different parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-