public static interface LaunchPermissionModifications.Builder extends SdkPojo, CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
Modifier and Type | Method and Description |
---|---|
LaunchPermissionModifications.Builder |
add(Collection<LaunchPermission> add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for
the AMI.
|
LaunchPermissionModifications.Builder |
add(Consumer<LaunchPermission.Builder>... add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for
the AMI.
|
LaunchPermissionModifications.Builder |
add(LaunchPermission... add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for
the AMI.
|
LaunchPermissionModifications.Builder |
remove(Collection<LaunchPermission> remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions
for the AMI.
|
LaunchPermissionModifications.Builder |
remove(Consumer<LaunchPermission.Builder>... remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions
for the AMI.
|
LaunchPermissionModifications.Builder |
remove(LaunchPermission... remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions
for the AMI.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
LaunchPermissionModifications.Builder add(Collection<LaunchPermission> add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
add
- The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch
permissions for the AMI.LaunchPermissionModifications.Builder add(LaunchPermission... add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
add
- The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch
permissions for the AMI.LaunchPermissionModifications.Builder add(Consumer<LaunchPermission.Builder>... add)
The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #add(List)
.add
- a consumer that will call methods on List.Builder
#add(List)
LaunchPermissionModifications.Builder remove(Collection<LaunchPermission> remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
remove
- The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch
permissions for the AMI.LaunchPermissionModifications.Builder remove(LaunchPermission... remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
remove
- The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch
permissions for the AMI.LaunchPermissionModifications.Builder remove(Consumer<LaunchPermission.Builder>... remove)
The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.
This is a convenience method that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #remove(List)
.remove
- a consumer that will call methods on List.Builder
#remove(List)
Copyright © 2022. All rights reserved.