public class LaunchPermissionModifications
extends java.lang.Object
implements java.io.Serializable
Describes a launch permission modification.
Constructor and Description |
---|
LaunchPermissionModifications() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<LaunchPermission> |
getAdd()
The AWS account ID to add to the list of launch permissions for the
AMI.
|
java.util.List<LaunchPermission> |
getRemove()
The AWS account ID to remove from the list of launch permissions for
the AMI.
|
int |
hashCode() |
void |
setAdd(java.util.Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the
AMI.
|
void |
setRemove(java.util.Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for
the AMI.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LaunchPermissionModifications |
withAdd(java.util.Collection<LaunchPermission> add)
The AWS account ID to add to the list of launch permissions for the
AMI.
|
LaunchPermissionModifications |
withAdd(LaunchPermission... add)
The AWS account ID to add to the list of launch permissions for the
AMI.
|
LaunchPermissionModifications |
withRemove(java.util.Collection<LaunchPermission> remove)
The AWS account ID to remove from the list of launch permissions for
the AMI.
|
LaunchPermissionModifications |
withRemove(LaunchPermission... remove)
The AWS account ID to remove from the list of launch permissions for
the AMI.
|
public java.util.List<LaunchPermission> getAdd()
public void setAdd(java.util.Collection<LaunchPermission> add)
add
- The AWS account ID to add to the list of launch permissions for the
AMI.public LaunchPermissionModifications withAdd(LaunchPermission... add)
Returns a reference to this object so that method calls can be chained together.
add
- The AWS account ID to add to the list of launch permissions for the
AMI.public LaunchPermissionModifications withAdd(java.util.Collection<LaunchPermission> add)
Returns a reference to this object so that method calls can be chained together.
add
- The AWS account ID to add to the list of launch permissions for the
AMI.public java.util.List<LaunchPermission> getRemove()
public void setRemove(java.util.Collection<LaunchPermission> remove)
remove
- The AWS account ID to remove from the list of launch permissions for
the AMI.public LaunchPermissionModifications withRemove(LaunchPermission... remove)
Returns a reference to this object so that method calls can be chained together.
remove
- The AWS account ID to remove from the list of launch permissions for
the AMI.public LaunchPermissionModifications withRemove(java.util.Collection<LaunchPermission> remove)
Returns a reference to this object so that method calls can be chained together.
remove
- The AWS account ID to remove from the list of launch permissions for
the AMI.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.