Interface LaunchPermissionConfiguration.Builder

  • 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 is all, which makes the distributed AMI public.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userGroups

      LaunchPermissionConfiguration.Builder userGroups(String... 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 is all, which makes the distributed AMI public.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationArns

      LaunchPermissionConfiguration.Builder organizationArns(Collection<String> 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

      LaunchPermissionConfiguration.Builder organizationArns(String... 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

      LaunchPermissionConfiguration.Builder organizationalUnitArns(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.