Interface ValidationData.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ValidationData.Builder,
,ValidationData> SdkBuilder<ValidationData.Builder,
,ValidationData> SdkPojo
- Enclosing class:
ValidationData
public static interface ValidationData.Builder
extends SdkPojo, CopyableBuilder<ValidationData.Builder,ValidationData>
-
Method Summary
Modifier and TypeMethodDescriptionassets
(Collection<Asset> assets) The assets that comprise the validation data.assets
(Consumer<Asset.Builder>... assets) The assets that comprise the validation data.The assets that comprise the validation data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
assets
The assets that comprise the validation data.
- Parameters:
assets
- The assets that comprise the validation data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets that comprise the validation data.
- Parameters:
assets
- The assets that comprise the validation data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assets
The assets that comprise the validation data.
This is a convenience method that creates an instance of theAsset.Builder
avoiding the need to create one manually viaAsset.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassets(List<Asset>)
.- Parameters:
assets
- a consumer that will call methods onAsset.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-