public static interface ModifyFpgaImageAttributeRequest.Builder extends Ec2Request.Builder, CopyableBuilder<ModifyFpgaImageAttributeRequest.Builder,ModifyFpgaImageAttributeRequest>
build
overrideConfiguration
copy
applyMutation, build
ModifyFpgaImageAttributeRequest.Builder fpgaImageId(String fpgaImageId)
The ID of the AFI.
fpgaImageId
- The ID of the AFI.ModifyFpgaImageAttributeRequest.Builder attribute(String attribute)
The name of the attribute.
attribute
- The name of the attribute.FpgaImageAttributeName
,
FpgaImageAttributeName
ModifyFpgaImageAttributeRequest.Builder attribute(FpgaImageAttributeName attribute)
The name of the attribute.
attribute
- The name of the attribute.FpgaImageAttributeName
,
FpgaImageAttributeName
ModifyFpgaImageAttributeRequest.Builder operationType(String operationType)
The operation type.
operationType
- The operation type.OperationType
,
OperationType
ModifyFpgaImageAttributeRequest.Builder operationType(OperationType operationType)
The operation type.
operationType
- The operation type.OperationType
,
OperationType
ModifyFpgaImageAttributeRequest.Builder userIds(Collection<String> userIds)
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds
- One or more AWS account IDs. This parameter is valid only when modifying the
loadPermission
attribute.ModifyFpgaImageAttributeRequest.Builder userIds(String... userIds)
One or more AWS account IDs. This parameter is valid only when modifying the loadPermission
attribute.
userIds
- One or more AWS account IDs. This parameter is valid only when modifying the
loadPermission
attribute.ModifyFpgaImageAttributeRequest.Builder userGroups(Collection<String> userGroups)
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
userGroups
- One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.ModifyFpgaImageAttributeRequest.Builder userGroups(String... userGroups)
One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.
userGroups
- One or more user groups. This parameter is valid only when modifying the loadPermission
attribute.ModifyFpgaImageAttributeRequest.Builder productCodes(Collection<String> productCodes)
One or more 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.
productCodes
- One or more 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.ModifyFpgaImageAttributeRequest.Builder productCodes(String... productCodes)
One or more 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.
productCodes
- One or more 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.ModifyFpgaImageAttributeRequest.Builder loadPermission(LoadPermissionModifications loadPermission)
The load permission for the AFI.
loadPermission
- The load permission for the AFI.default ModifyFpgaImageAttributeRequest.Builder loadPermission(Consumer<LoadPermissionModifications.Builder> loadPermission)
The load permission for the AFI.
This is a convenience that creates an instance of theLoadPermissionModifications.Builder
avoiding
the need to create one manually via LoadPermissionModifications.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to loadPermission(LoadPermissionModifications)
.loadPermission
- a consumer that will call methods on LoadPermissionModifications.Builder
loadPermission(LoadPermissionModifications)
ModifyFpgaImageAttributeRequest.Builder description(String description)
A description for the AFI.
description
- A description for the AFI.ModifyFpgaImageAttributeRequest.Builder name(String name)
A name for the AFI.
name
- A name for the AFI.ModifyFpgaImageAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyFpgaImageAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.