Interface BatchAssociateDataSegmentsToDatasetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAssociateDataSegmentsToDatasetResponse.Builder,,BatchAssociateDataSegmentsToDatasetResponse> IoTSiteWiseResponse.Builder,SdkBuilder<BatchAssociateDataSegmentsToDatasetResponse.Builder,,BatchAssociateDataSegmentsToDatasetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAssociateDataSegmentsToDatasetResponse
@Mutable
@NotThreadSafe
public static interface BatchAssociateDataSegmentsToDatasetResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateDataSegmentsToDatasetResponse.Builder,BatchAssociateDataSegmentsToDatasetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the dataset.datasetVersion(String datasetVersion) The version of the dataset after association.failedAssociations(Collection<FailedDataSegmentAssociation> failedAssociations) A list of data segment associations that failed.failedAssociations(Consumer<FailedDataSegmentAssociation.Builder>... failedAssociations) A list of data segment associations that failed.failedAssociations(FailedDataSegmentAssociation... failedAssociations) A list of data segment associations that failed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
datasetId
The ID of the dataset.
- Parameters:
datasetId- The ID of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetVersion
The version of the dataset after association.
- Parameters:
datasetVersion- The version of the dataset after association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAssociations
BatchAssociateDataSegmentsToDatasetResponse.Builder failedAssociations(Collection<FailedDataSegmentAssociation> failedAssociations) A list of data segment associations that failed.
- Parameters:
failedAssociations- A list of data segment associations that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAssociations
BatchAssociateDataSegmentsToDatasetResponse.Builder failedAssociations(FailedDataSegmentAssociation... failedAssociations) A list of data segment associations that failed.
- Parameters:
failedAssociations- A list of data segment associations that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAssociations
BatchAssociateDataSegmentsToDatasetResponse.Builder failedAssociations(Consumer<FailedDataSegmentAssociation.Builder>... failedAssociations) A list of data segment associations that failed.
This is a convenience method that creates an instance of theFailedDataSegmentAssociation.Builderavoiding the need to create one manually viaFailedDataSegmentAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailedAssociations(List<FailedDataSegmentAssociation>).- Parameters:
failedAssociations- a consumer that will call methods onFailedDataSegmentAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-