@Generated(value="software.amazon.awssdk:codegen") public final class CreateVolumePermissionModifications extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateVolumePermissionModifications.Builder,CreateVolumePermissionModifications>
Describes modifications to the list of create volume permissions for a volume.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateVolumePermissionModifications.Builder |
Modifier and Type | Method and Description |
---|---|
List<CreateVolumePermission> |
add()
Adds the specified AWS account ID or group to the list.
|
static CreateVolumePermissionModifications.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<CreateVolumePermission> |
remove()
Removes the specified AWS account ID or group from the list.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateVolumePermissionModifications.Builder> |
serializableBuilderClass() |
CreateVolumePermissionModifications.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public boolean hasAdd()
public List<CreateVolumePermission> add()
Adds the specified AWS account ID or group to the list.
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<CreateVolumePermission> remove()
Removes the specified AWS account ID or group from the list.
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 CreateVolumePermissionModifications.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateVolumePermissionModifications.Builder,CreateVolumePermissionModifications>
public static CreateVolumePermissionModifications.Builder builder()
public static Class<? extends CreateVolumePermissionModifications.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.