public static interface CreateManagedPrefixListRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateManagedPrefixListRequest.Builder,CreateManagedPrefixListRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateManagedPrefixListRequest.Builder prefixListName(String prefixListName)
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
prefixListName
- A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with com.amazonaws
.
CreateManagedPrefixListRequest.Builder entries(Collection<AddPrefixListEntry> entries)
One or more entries for the prefix list.
entries
- One or more entries for the prefix list.CreateManagedPrefixListRequest.Builder entries(AddPrefixListEntry... entries)
One or more entries for the prefix list.
entries
- One or more entries for the prefix list.CreateManagedPrefixListRequest.Builder entries(Consumer<AddPrefixListEntry.Builder>... entries)
One or more entries for the prefix list.
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 #entries(List)
.entries
- a consumer that will call methods on List.Builder
#entries(List)
CreateManagedPrefixListRequest.Builder maxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
maxEntries
- The maximum number of entries for the prefix list.CreateManagedPrefixListRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the prefix list during creation.
tagSpecifications
- The tags to apply to the prefix list during creation.CreateManagedPrefixListRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the prefix list during creation.
tagSpecifications
- The tags to apply to the prefix list during creation.CreateManagedPrefixListRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the prefix list during creation.
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 #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateManagedPrefixListRequest.Builder addressFamily(String addressFamily)
The IP address type.
Valid Values: IPv4
| IPv6
addressFamily
- The IP address type.
Valid Values: IPv4
| IPv6
CreateManagedPrefixListRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
Constraints: Up to 255 UTF-8 characters in length.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see Ensuring
Idempotency.
Constraints: Up to 255 UTF-8 characters in length.
CreateManagedPrefixListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateManagedPrefixListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.