Interface CreateManagedPrefixListRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateManagedPrefixListRequest.Builder,,CreateManagedPrefixListRequest> Ec2Request.Builder,SdkBuilder<CreateManagedPrefixListRequest.Builder,,CreateManagedPrefixListRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateManagedPrefixListRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddressFamily(String addressFamily) The IP address type.clientToken(String clientToken) Unique, case-sensitive identifier you provide to ensure the idempotency of the request.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.entries(Collection<AddPrefixListEntry> entries) One or more entries for the prefix list.entries(Consumer<AddPrefixListEntry.Builder>... entries) One or more entries for the prefix list.entries(AddPrefixListEntry... entries) One or more entries for the prefix list.maxEntries(Integer maxEntries) The maximum number of entries for the prefix list.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) prefixListName(String prefixListName) A name for the prefix list.tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the prefix list during creation.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the prefix list during creation.tagSpecifications(TagSpecification... tagSpecifications) The tags to apply to the prefix list during creation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefixListName
A name for the prefix list.
Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws.- Parameters:
prefixListName- A name for the prefix list.Constraints: Up to 255 characters in length. The name cannot start with
com.amazonaws.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
One or more entries for the prefix list.
- Parameters:
entries- One or more entries for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
One or more entries for the prefix list.
- Parameters:
entries- One or more entries for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entries
One or more entries for the prefix list.
This is a convenience method that creates an instance of theAddPrefixListEntry.Builderavoiding the need to create one manually viaAddPrefixListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentries(List<AddPrefixListEntry>).- Parameters:
entries- a consumer that will call methods onAddPrefixListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxEntries
The maximum number of entries for the prefix list.
- Parameters:
maxEntries- The maximum number of entries for the prefix list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateManagedPrefixListRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications) The tags to apply to the prefix list during creation.
- Parameters:
tagSpecifications- The tags to apply to the prefix list during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
The tags to apply to the prefix list during creation.
- Parameters:
tagSpecifications- The tags to apply to the prefix list during creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
CreateManagedPrefixListRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) The tags to apply to the prefix list during creation.
This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
addressFamily
The IP address type.
Valid Values:
IPv4|IPv6- Parameters:
addressFamily- The IP address type.Valid Values:
IPv4|IPv6- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateManagedPrefixListRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateManagedPrefixListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-