Interface FpgaImageAttribute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FpgaImageAttribute.Builder,
,FpgaImageAttribute> SdkBuilder<FpgaImageAttribute.Builder,
,FpgaImageAttribute> SdkPojo
- Enclosing class:
FpgaImageAttribute
public static interface FpgaImageAttribute.Builder
extends SdkPojo, CopyableBuilder<FpgaImageAttribute.Builder,FpgaImageAttribute>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the AFI.fpgaImageId
(String fpgaImageId) The ID of the AFI.loadPermissions
(Collection<LoadPermission> loadPermissions) The load permissions.loadPermissions
(Consumer<LoadPermission.Builder>... loadPermissions) The load permissions.loadPermissions
(LoadPermission... loadPermissions) The load permissions.The name of the AFI.productCodes
(Collection<ProductCode> productCodes) The product codes.productCodes
(Consumer<ProductCode.Builder>... productCodes) The product codes.productCodes
(ProductCode... productCodes) The product codes.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
-
fpgaImageId
The ID of the AFI.
- Parameters:
fpgaImageId
- The ID of the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the AFI.
- Parameters:
name
- The name of the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the AFI.
- Parameters:
description
- The description of the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadPermissions
The load permissions.
- Parameters:
loadPermissions
- The load permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadPermissions
The load permissions.
- Parameters:
loadPermissions
- The load permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadPermissions
The load permissions.
This is a convenience method that creates an instance of theLoadPermission.Builder
avoiding the need to create one manually viaLoadPermission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadPermissions(List<LoadPermission>)
.- Parameters:
loadPermissions
- a consumer that will call methods onLoadPermission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
productCodes
The product codes.
- Parameters:
productCodes
- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
The product codes.
- Parameters:
productCodes
- The product codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
The product codes.
This is a convenience method that creates an instance of theProductCode.Builder
avoiding the need to create one manually viaProductCode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproductCodes(List<ProductCode>)
.- Parameters:
productCodes
- a consumer that will call methods onProductCode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-