Interface BatchAssociateProjectAssetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchAssociateProjectAssetsResponse.Builder,,BatchAssociateProjectAssetsResponse> IoTSiteWiseResponse.Builder,SdkBuilder<BatchAssociateProjectAssetsResponse.Builder,,BatchAssociateProjectAssetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchAssociateProjectAssetsResponse
public static interface BatchAssociateProjectAssetsResponse.Builder
extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<BatchAssociateProjectAssetsResponse.Builder,BatchAssociateProjectAssetsResponse>
-
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
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, sdkFieldsMethods 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
A list of associated error information, if any.
This is a convenience method that creates an instance of theAssetErrorDetails.Builderavoiding the need to create one manually viaAssetErrorDetails.builder().When the
Consumercompletes,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:
-