public static interface LaunchPermissionModifications.Builder extends CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
Modifier and Type | Method and Description |
---|---|
LaunchPermissionModifications.Builder |
add(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
LaunchPermissionModifications.Builder |
add(Consumer<LaunchPermission.Builder>... add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
LaunchPermissionModifications.Builder |
add(LaunchPermission... add)
The AWS account ID to add to the list of launch permissions for the AMI.
|
LaunchPermissionModifications.Builder |
remove(Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
LaunchPermissionModifications.Builder |
remove(Consumer<LaunchPermission.Builder>... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
LaunchPermissionModifications.Builder |
remove(LaunchPermission... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
|
copy
applyMutation, build
LaunchPermissionModifications.Builder add(Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the AMI.
add
- The AWS account ID to add to the list of launch permissions for the AMI.LaunchPermissionModifications.Builder add(LaunchPermission... add)
The AWS account ID to add to the list of launch permissions for the AMI.
add
- The AWS account ID to add to the list of launch permissions for the AMI.LaunchPermissionModifications.Builder add(Consumer<LaunchPermission.Builder>... add)
The AWS account ID to add to the list of launch permissions for the AMI.
This is a convenience 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 AWS account ID to remove from the list of launch permissions for the AMI.
remove
- The AWS account ID to remove from the list of launch permissions for the AMI.LaunchPermissionModifications.Builder remove(LaunchPermission... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
remove
- The AWS account ID to remove from the list of launch permissions for the AMI.LaunchPermissionModifications.Builder remove(Consumer<LaunchPermission.Builder>... remove)
The AWS account ID to remove from the list of launch permissions for the AMI.
This is a convenience 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.