Interface BatchAssociateDataSegmentsToDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchAssociateDataSegmentsToDatasetRequest.Builder,,BatchAssociateDataSegmentsToDatasetRequest> IoTSiteWiseRequest.Builder,SdkBuilder<BatchAssociateDataSegmentsToDatasetRequest.Builder,,BatchAssociateDataSegmentsToDatasetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchAssociateDataSegmentsToDatasetRequest
@Mutable
@NotThreadSafe
public static interface BatchAssociateDataSegmentsToDatasetRequest.Builder
extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<BatchAssociateDataSegmentsToDatasetRequest.Builder,BatchAssociateDataSegmentsToDatasetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociateDataSegmentEntries(Collection<AssociateDataSegmentEntry> associateDataSegmentEntries) The list of data segment entries to associate with the dataset.associateDataSegmentEntries(Consumer<AssociateDataSegmentEntry.Builder>... associateDataSegmentEntries) The list of data segment entries to associate with the dataset.associateDataSegmentEntries(AssociateDataSegmentEntry... associateDataSegmentEntries) The list of data segment entries to associate with the dataset.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure that the request is idempotent.The ID of the curated dataset to associate data segments with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceName(String workspaceName) The name of the workspace that contains the dataset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
datasetId
The ID of the curated dataset to associate data segments with.
- Parameters:
datasetId- The ID of the curated dataset to associate data segments with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceName
The name of the workspace that contains the dataset.
- Parameters:
workspaceName- The name of the workspace that contains the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associateDataSegmentEntries
BatchAssociateDataSegmentsToDatasetRequest.Builder associateDataSegmentEntries(Collection<AssociateDataSegmentEntry> associateDataSegmentEntries) The list of data segment entries to associate with the dataset.
- Parameters:
associateDataSegmentEntries- The list of data segment entries to associate with the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associateDataSegmentEntries
BatchAssociateDataSegmentsToDatasetRequest.Builder associateDataSegmentEntries(AssociateDataSegmentEntry... associateDataSegmentEntries) The list of data segment entries to associate with the dataset.
- Parameters:
associateDataSegmentEntries- The list of data segment entries to associate with the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associateDataSegmentEntries
BatchAssociateDataSegmentsToDatasetRequest.Builder associateDataSegmentEntries(Consumer<AssociateDataSegmentEntry.Builder>... associateDataSegmentEntries) The list of data segment entries to associate with the dataset.
This is a convenience method that creates an instance of theAssociateDataSegmentEntry.Builderavoiding the need to create one manually viaAssociateDataSegmentEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociateDataSegmentEntries(List<AssociateDataSegmentEntry>).- Parameters:
associateDataSegmentEntries- a consumer that will call methods onAssociateDataSegmentEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure that the request is idempotent. If you retry a request that completed successfully using the same client token, the retry succeeds without performing any further actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchAssociateDataSegmentsToDatasetRequest.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
BatchAssociateDataSegmentsToDatasetRequest.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.
-