public static interface CreateVolumePermissionModifications.Builder extends SdkPojo, CopyableBuilder<CreateVolumePermissionModifications.Builder,CreateVolumePermissionModifications>
| Modifier and Type | Method and Description |
|---|---|
CreateVolumePermissionModifications.Builder |
add(Collection<CreateVolumePermission> add)
Adds the specified Amazon Web Services account ID or group to the list.
|
CreateVolumePermissionModifications.Builder |
add(Consumer<CreateVolumePermission.Builder>... add)
Adds the specified Amazon Web Services account ID or group to the list.
|
CreateVolumePermissionModifications.Builder |
add(CreateVolumePermission... add)
Adds the specified Amazon Web Services account ID or group to the list.
|
CreateVolumePermissionModifications.Builder |
remove(Collection<CreateVolumePermission> remove)
Removes the specified Amazon Web Services account ID or group from the list.
|
CreateVolumePermissionModifications.Builder |
remove(Consumer<CreateVolumePermission.Builder>... remove)
Removes the specified Amazon Web Services account ID or group from the list.
|
CreateVolumePermissionModifications.Builder |
remove(CreateVolumePermission... remove)
Removes the specified Amazon Web Services account ID or group from the list.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVolumePermissionModifications.Builder add(Collection<CreateVolumePermission> add)
Adds the specified Amazon Web Services account ID or group to the list.
add - Adds the specified Amazon Web Services account ID or group to the list.CreateVolumePermissionModifications.Builder add(CreateVolumePermission... add)
Adds the specified Amazon Web Services account ID or group to the list.
add - Adds the specified Amazon Web Services account ID or group to the list.CreateVolumePermissionModifications.Builder add(Consumer<CreateVolumePermission.Builder>... add)
Adds the specified Amazon Web Services account ID or group to the list.
This is a convenience method that creates an instance of theCreateVolumePermission.Builder avoiding the need to create
one manually via CreateVolumePermission.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #add(List.
add - a consumer that will call methods on
CreateVolumePermission.Builder#add(java.util.Collection) CreateVolumePermissionModifications.Builder remove(Collection<CreateVolumePermission> remove)
Removes the specified Amazon Web Services account ID or group from the list.
remove - Removes the specified Amazon Web Services account ID or group from the list.CreateVolumePermissionModifications.Builder remove(CreateVolumePermission... remove)
Removes the specified Amazon Web Services account ID or group from the list.
remove - Removes the specified Amazon Web Services account ID or group from the list.CreateVolumePermissionModifications.Builder remove(Consumer<CreateVolumePermission.Builder>... remove)
Removes the specified Amazon Web Services account ID or group from the list.
This is a convenience method that creates an instance of theCreateVolumePermission.Builder avoiding the need to create
one manually via CreateVolumePermission.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #remove(List.
remove - a consumer that will call methods on
CreateVolumePermission.Builder#remove(java.util.Collection) Copyright © 2022. All rights reserved.