public static interface CreateVolumePermissionModifications.Builder extends SdkPojo, CopyableBuilder<CreateVolumePermissionModifications.Builder,CreateVolumePermissionModifications>
Modifier and Type | Method and Description |
---|---|
CreateVolumePermissionModifications.Builder |
add(Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
|
CreateVolumePermissionModifications.Builder |
add(Consumer<CreateVolumePermission.Builder>... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
|
CreateVolumePermissionModifications.Builder |
add(CreateVolumePermission... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
|
CreateVolumePermissionModifications.Builder |
remove(Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
|
CreateVolumePermissionModifications.Builder |
remove(Consumer<CreateVolumePermission.Builder>... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
|
CreateVolumePermissionModifications.Builder |
remove(CreateVolumePermission... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
|
copy
applyMutation, build
CreateVolumePermissionModifications.Builder add(Collection<CreateVolumePermission> add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
add
- Adds a specific AWS account ID or group to a volume's list of create volume permissions.CreateVolumePermissionModifications.Builder add(CreateVolumePermission... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
add
- Adds a specific AWS account ID or group to a volume's list of create volume permissions.CreateVolumePermissionModifications.Builder add(Consumer<CreateVolumePermission.Builder>... add)
Adds a specific AWS account ID or group to a volume's list of create volume permissions.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #add(List)
.add
- a consumer that will call methods on List.Builder
#add(List)
CreateVolumePermissionModifications.Builder remove(Collection<CreateVolumePermission> remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
remove
- Removes a specific AWS account ID or group from a volume's list of create volume permissions.CreateVolumePermissionModifications.Builder remove(CreateVolumePermission... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
remove
- Removes a specific AWS account ID or group from a volume's list of create volume permissions.CreateVolumePermissionModifications.Builder remove(Consumer<CreateVolumePermission.Builder>... remove)
Removes a specific AWS account ID or group from a volume's list of create volume permissions.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #remove(List)
.remove
- a consumer that will call methods on List.Builder
#remove(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.