Interface ModifyFpgaImageAttributeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyFpgaImageAttributeRequest.Builder,
,ModifyFpgaImageAttributeRequest> Ec2Request.Builder
,SdkBuilder<ModifyFpgaImageAttributeRequest.Builder,
,ModifyFpgaImageAttributeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyFpgaImageAttributeRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the attribute.attribute
(FpgaImageAttributeName attribute) The name of the attribute.description
(String description) A description for the AFI.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.fpgaImageId
(String fpgaImageId) The ID of the AFI.loadPermission
(Consumer<LoadPermissionModifications.Builder> loadPermission) The load permission for the AFI.loadPermission
(LoadPermissionModifications loadPermission) The load permission for the AFI.A name for the AFI.operationType
(String operationType) The operation type.operationType
(OperationType operationType) The operation type.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.productCodes
(String... productCodes) The product codes.productCodes
(Collection<String> productCodes) The product codes.userGroups
(String... userGroups) The user groups.userGroups
(Collection<String> userGroups) The user groups.The Amazon Web Services account IDs.userIds
(Collection<String> userIds) The Amazon Web Services account IDs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
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
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Parameters:
dryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
attribute
The name of the attribute.
- Parameters:
attribute
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attribute
The name of the attribute.
- Parameters:
attribute
- The name of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
The operation type.
- Parameters:
operationType
- The operation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationType
The operation type.
- Parameters:
operationType
- The operation type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
userIds
The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission
attribute.- Parameters:
userIds
- The Amazon Web Services account IDs. This parameter is valid only when modifying theloadPermission
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
The Amazon Web Services account IDs. This parameter is valid only when modifying the
loadPermission
attribute.- Parameters:
userIds
- The Amazon Web Services account IDs. This parameter is valid only when modifying theloadPermission
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
The user groups. This parameter is valid only when modifying the
loadPermission
attribute.- Parameters:
userGroups
- The user groups. This parameter is valid only when modifying theloadPermission
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
The user groups. This parameter is valid only when modifying the
loadPermission
attribute.- Parameters:
userGroups
- The user groups. This parameter is valid only when modifying theloadPermission
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the
productCodes
attribute.- Parameters:
productCodes
- The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying theproductCodes
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
productCodes
The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying the
productCodes
attribute.- Parameters:
productCodes
- The product codes. After you add a product code to an AFI, it can't be removed. This parameter is valid only when modifying theproductCodes
attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadPermission
The load permission for the AFI.
- Parameters:
loadPermission
- The load permission for the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loadPermission
default ModifyFpgaImageAttributeRequest.Builder loadPermission(Consumer<LoadPermissionModifications.Builder> loadPermission) The load permission for the AFI.
This is a convenience method that creates an instance of theLoadPermissionModifications.Builder
avoiding the need to create one manually viaLoadPermissionModifications.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloadPermission(LoadPermissionModifications)
.- Parameters:
loadPermission
- a consumer that will call methods onLoadPermissionModifications.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description for the AFI.
- Parameters:
description
- A description for the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the AFI.
- Parameters:
name
- A name for the AFI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyFpgaImageAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyFpgaImageAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-