public static interface ModifyManagedPrefixListRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyManagedPrefixListRequest.Builder,ModifyManagedPrefixListRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyManagedPrefixListRequest.Builder prefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.ModifyManagedPrefixListRequest.Builder currentVersion(Long currentVersion)
The current version of the prefix list.
currentVersion
- The current version of the prefix list.ModifyManagedPrefixListRequest.Builder prefixListName(String prefixListName)
A name for the prefix list.
prefixListName
- A name for the prefix list.ModifyManagedPrefixListRequest.Builder addEntries(Collection<AddPrefixListEntry> addEntries)
One or more entries to add to the prefix list.
addEntries
- One or more entries to add to the prefix list.ModifyManagedPrefixListRequest.Builder addEntries(AddPrefixListEntry... addEntries)
One or more entries to add to the prefix list.
addEntries
- One or more entries to add to the prefix list.ModifyManagedPrefixListRequest.Builder addEntries(Consumer<AddPrefixListEntry.Builder>... addEntries)
One or more entries to add to the prefix list.
This is a convenience method that creates an instance of theAddPrefixListEntry.Builder
avoiding the need to create one
manually via AddPrefixListEntry.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #addEntries(List
.
addEntries
- a consumer that will call methods on
AddPrefixListEntry.Builder
#addEntries(java.util.Collection)
ModifyManagedPrefixListRequest.Builder removeEntries(Collection<RemovePrefixListEntry> removeEntries)
One or more entries to remove from the prefix list.
removeEntries
- One or more entries to remove from the prefix list.ModifyManagedPrefixListRequest.Builder removeEntries(RemovePrefixListEntry... removeEntries)
One or more entries to remove from the prefix list.
removeEntries
- One or more entries to remove from the prefix list.ModifyManagedPrefixListRequest.Builder removeEntries(Consumer<RemovePrefixListEntry.Builder>... removeEntries)
One or more entries to remove from the prefix list.
This is a convenience method that creates an instance of theRemovePrefixListEntry.Builder
avoiding the need to create
one manually via RemovePrefixListEntry.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately
and its result is passed to #removeEntries(List
.
removeEntries
- a consumer that will call methods on
RemovePrefixListEntry.Builder
#removeEntries(java.util.Collection)
ModifyManagedPrefixListRequest.Builder maxEntries(Integer maxEntries)
The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
maxEntries
- The maximum number of entries for the prefix list. You cannot modify the entries of a prefix list and
modify the size of a prefix list at the same time.
If any of the resources that reference the prefix list cannot support the new maximum size, the modify operation fails. Check the state message for the IDs of the first ten resources that do not support the new maximum size.
ModifyManagedPrefixListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyManagedPrefixListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.