Class LaunchPermissionModifications

    • Constructor Detail

      • LaunchPermissionModifications

        public LaunchPermissionModifications()
    • Method Detail

      • getAdd

        public List<LaunchPermission> getAdd()

        The AWS account ID to add to the list of launch permissions for the AMI.

        Returns:
        The AWS account ID to add to the list of launch permissions for the AMI.
      • setAdd

        public void setAdd​(Collection<LaunchPermission> add)

        The AWS account ID to add to the list of launch permissions for the AMI.

        Parameters:
        add - The AWS account ID to add to the list of launch permissions for the AMI.
      • withAdd

        public LaunchPermissionModifications withAdd​(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.

        Parameters:
        add - The AWS account ID 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.
      • withAdd

        public LaunchPermissionModifications withAdd​(Collection<LaunchPermission> add)

        The AWS account ID to add to the list of launch permissions for the AMI.

        Parameters:
        add - The AWS account ID 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.
      • getRemove

        public List<LaunchPermission> getRemove()

        The AWS account ID to remove from the list of launch permissions for the AMI.

        Returns:
        The AWS account ID to remove from the list of launch permissions for the AMI.
      • setRemove

        public void setRemove​(Collection<LaunchPermission> remove)

        The AWS account ID to remove from the list of launch permissions for the AMI.

        Parameters:
        remove - The AWS account ID to remove from the list of launch permissions for the AMI.
      • withRemove

        public LaunchPermissionModifications withRemove​(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.

        Parameters:
        remove - The AWS account ID 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.
      • withRemove

        public LaunchPermissionModifications withRemove​(Collection<LaunchPermission> remove)

        The AWS account ID to remove from the list of launch permissions for the AMI.

        Parameters:
        remove - The AWS account ID 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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object