Interface CreateManagedPrefixListRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateManagedPrefixListRequest.Builder,CreateManagedPrefixListRequest>
,Ec2Request.Builder
,SdkBuilder<CreateManagedPrefixListRequest.Builder,CreateManagedPrefixListRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateManagedPrefixListRequest
public static interface CreateManagedPrefixListRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateManagedPrefixListRequest.Builder,CreateManagedPrefixListRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dryRun
CreateManagedPrefixListRequest.Builder dryRun(Boolean 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
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
.- 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
CreateManagedPrefixListRequest.Builder entries(Collection<AddPrefixListEntry> 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
CreateManagedPrefixListRequest.Builder entries(AddPrefixListEntry... 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
CreateManagedPrefixListRequest.Builder entries(Consumer<AddPrefixListEntry.Builder>... entries)
One or more entries for the prefix list.
This is a convenience method that creates an instance of theAddPrefixListEntry.Builder
avoiding the need to create one manually viaAddPrefixListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#entries(List
.) - 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:
#entries(java.util.Collection
)
-
maxEntries
CreateManagedPrefixListRequest.Builder maxEntries(Integer 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
CreateManagedPrefixListRequest.Builder tagSpecifications(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
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.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tagSpecifications(List
.) - 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:
#tagSpecifications(java.util.Collection
)
-
addressFamily
CreateManagedPrefixListRequest.Builder addressFamily(String 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
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.
- 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:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateManagedPrefixListRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-