Interface BatchDisassociateProjectAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDisassociateProjectAssetsResponse.Builder,
,BatchDisassociateProjectAssetsResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<BatchDisassociateProjectAssetsResponse.Builder,
,BatchDisassociateProjectAssetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchDisassociateProjectAssetsResponse
public static interface BatchDisassociateProjectAssetsResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<BatchDisassociateProjectAssetsResponse.Builder,BatchDisassociateProjectAssetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionerrors
(Collection<AssetErrorDetails> errors) A list of associated error information, if any.errors
(Consumer<AssetErrorDetails.Builder>... errors) A list of associated error information, if any.errors
(AssetErrorDetails... errors) A list of associated error information, if any.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
errors
A list of associated error information, if any.
- Parameters:
errors
- A list of associated error information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of associated error information, if any.
- Parameters:
errors
- A list of associated error information, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDisassociateProjectAssetsResponse.Builder errors(Consumer<AssetErrorDetails.Builder>... errors) A list of associated error information, if any.
This is a convenience method that creates an instance of theAssetErrorDetails.Builder
avoiding the need to create one manually viaAssetErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<AssetErrorDetails>)
.- Parameters:
errors
- a consumer that will call methods onAssetErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-