Interface LaunchPermissionModifications.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>,SdkBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>,SdkPojo
- Enclosing class:
- LaunchPermissionModifications
public static interface LaunchPermissionModifications.Builder extends SdkPojo, CopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchPermissionModifications.Builderadd(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.Builderadd(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.Builderadd(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.Builderremove(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.Builderremove(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.Builderremove(LaunchPermission... remove)The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
add
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.
- Parameters:
add- The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
add
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.
- Parameters:
add- The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
add
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.Builderavoiding the need to create one manually viaLaunchPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#add(List.) - Parameters:
add- a consumer that will call methods onLaunchPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#add(java.util.Collection)
-
remove
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.
- Parameters:
remove- The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remove
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.
- Parameters:
remove- The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remove
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.Builderavoiding the need to create one manually viaLaunchPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#remove(List.) - Parameters:
remove- a consumer that will call methods onLaunchPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#remove(java.util.Collection)
-
-