Interface LaunchPermissionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchPermissionConfiguration.Builder,,LaunchPermissionConfiguration> SdkBuilder<LaunchPermissionConfiguration.Builder,,LaunchPermissionConfiguration> SdkPojo
- Enclosing class:
LaunchPermissionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionorganizationalUnitArns(String... organizationalUnitArns) The ARN for an Organizations organizational unit (OU) that you want to share your AMI with.organizationalUnitArns(Collection<String> organizationalUnitArns) The ARN for an Organizations organizational unit (OU) that you want to share your AMI with.organizationArns(String... organizationArns) The ARN for an Amazon Web Services Organization that you want to share your AMI with.organizationArns(Collection<String> organizationArns) The ARN for an Amazon Web Services Organization that you want to share your AMI with.userGroups(String... userGroups) The name of the group that you want to grant launch permission to.userGroups(Collection<String> userGroups) The name of the group that you want to grant launch permission to.The Amazon Web Services account IDs to grant launch permission to.userIds(Collection<String> userIds) The Amazon Web Services account IDs to grant launch permission to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
userIds
The Amazon Web Services account IDs to grant launch permission to. Each listed account can use the distributed AMI to launch instances.
- Parameters:
userIds- The Amazon Web Services account IDs to grant launch permission to. Each listed account can use the distributed AMI to launch instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userIds
The Amazon Web Services account IDs to grant launch permission to. Each listed account can use the distributed AMI to launch instances.
- Parameters:
userIds- The Amazon Web Services account IDs to grant launch permission to. Each listed account can use the distributed AMI to launch instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
The name of the group that you want to grant launch permission to. The only supported value is
all, which makes the distributed AMI public.- Parameters:
userGroups- The name of the group that you want to grant launch permission to. The only supported value isall, which makes the distributed AMI public.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userGroups
The name of the group that you want to grant launch permission to. The only supported value is
all, which makes the distributed AMI public.- Parameters:
userGroups- The name of the group that you want to grant launch permission to. The only supported value isall, which makes the distributed AMI public.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationArns
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
- Parameters:
organizationArns- The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationArns
The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.
- Parameters:
organizationArns- The ARN for an Amazon Web Services Organization that you want to share your AMI with. For more information, see What is Organizations?.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitArns
LaunchPermissionConfiguration.Builder organizationalUnitArns(Collection<String> organizationalUnitArns) The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
- Parameters:
organizationalUnitArns- The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationalUnitArns
The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.
- Parameters:
organizationalUnitArns- The ARN for an Organizations organizational unit (OU) that you want to share your AMI with. For more information about key concepts for Organizations, see Organizations terminology and concepts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-