@Generated(value="software.amazon.awssdk:codegen") public final class LaunchPermissionModifications extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>
Describes a launch permission modification.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LaunchPermissionModifications.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<LaunchPermission> |
add()
The AWS account ID to add to the list of launch permissions for the AMI.
|
static LaunchPermissionModifications.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdd()
Returns true if the Add property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRemove()
Returns true if the Remove property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<LaunchPermission> |
remove()
The AWS account ID to remove from the list of launch permissions for the AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchPermissionModifications.Builder> |
serializableBuilderClass() |
LaunchPermissionModifications.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasAdd()
public List<LaunchPermission> add()
The AWS account ID to add to the list of launch permissions for the AMI.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAdd() to see if a value was sent in this field.
public boolean hasRemove()
public List<LaunchPermission> remove()
The AWS account ID to remove from the list of launch permissions for the AMI.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRemove() to see if a value was sent in this field.
public LaunchPermissionModifications.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LaunchPermissionModifications.Builder,LaunchPermissionModifications>public static LaunchPermissionModifications.Builder builder()
public static Class<? extends LaunchPermissionModifications.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.