Class LaunchPermissionModifications
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a launch permission modification.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getAdd()
The AWS account ID to add to the list of launch permissions for the AMI.The AWS account ID to remove from the list of launch permissions for the AMI.int
hashCode()
void
setAdd
(Collection<LaunchPermission> add) The AWS account ID to add to the list of launch permissions for the AMI.void
setRemove
(Collection<LaunchPermission> remove) The AWS account ID to remove from the list of launch permissions for the AMI.toString()
Returns a string representation of this object; useful for testing and debugging.withAdd
(LaunchPermission... add) The AWS account ID to add to the list of launch permissions for the AMI.The AWS account ID to add to the list of launch permissions for the AMI.withRemove
(LaunchPermission... remove) The AWS account ID to remove from the list of launch permissions for the AMI.withRemove
(Collection<LaunchPermission> remove) The AWS account ID to remove from the list of launch permissions for the AMI.
-
Constructor Details
-
LaunchPermissionModifications
public LaunchPermissionModifications()
-
-
Method Details
-
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
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
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)
orwithAdd(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
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
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
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
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)
orwithRemove(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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-