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 theLaunchPermission.Builder
avoiding the need to create one
manually via LaunchPermission.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #add(List
.
add
- a consumer that will call methods on
LaunchPermission.Builder
#add(java.util.Collection)
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 theLaunchPermission.Builder
avoiding the need to create one
manually via LaunchPermission.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #remove(List
.
remove
- a consumer that will call methods on
LaunchPermission.Builder
#remove(java.util.Collection)
Copyright © 2023. All rights reserved.