CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
, SdkBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
public static interface LaunchPermissionModifications.Builder extends CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
Modifier and Type | Method | 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(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(LaunchPermission... remove) |
The AWS account ID to remove from the list of launch permissions for the AMI.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setAdd(java.util.Collection)
or #withAdd(java.util.Collection)
if you want to override the
existing values.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setRemove(java.util.Collection)
or #withRemove(java.util.Collection)
if you want to override
the existing values.
remove
- The AWS account ID to remove from the list of launch permissions for the AMI.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.