Interface CreateVpcEndpointAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateVpcEndpointAssociationRequest.Builder,
,CreateVpcEndpointAssociationRequest> NetworkFirewallRequest.Builder
,SdkBuilder<CreateVpcEndpointAssociationRequest.Builder,
,CreateVpcEndpointAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateVpcEndpointAssociationRequest
@Mutable
@NotThreadSafe
public static interface CreateVpcEndpointAssociationRequest.Builder
extends NetworkFirewallRequest.Builder, SdkPojo, CopyableBuilder<CreateVpcEndpointAssociationRequest.Builder,CreateVpcEndpointAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the VPC endpoint association.firewallArn
(String firewallArn) The Amazon Resource Name (ARN) of the firewall.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subnetMapping
(Consumer<SubnetMapping.Builder> subnetMapping) Sets the value of the SubnetMapping property for this object.subnetMapping
(SubnetMapping subnetMapping) Sets the value of the SubnetMapping property for this object.tags
(Collection<Tag> tags) The key:value pairs to associate with the resource.tags
(Consumer<Tag.Builder>... tags) The key:value pairs to associate with the resource.The key:value pairs to associate with the resource.The unique identifier of the VPC where you want to create a firewall endpoint.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.networkfirewall.model.NetworkFirewallRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
firewallArn
The Amazon Resource Name (ARN) of the firewall.
- Parameters:
firewallArn
- The Amazon Resource Name (ARN) of the firewall.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The unique identifier of the VPC where you want to create a firewall endpoint.
- Parameters:
vpcId
- The unique identifier of the VPC where you want to create a firewall endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMapping
Sets the value of the SubnetMapping property for this object.- Parameters:
subnetMapping
- The new value for the SubnetMapping property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetMapping
default CreateVpcEndpointAssociationRequest.Builder subnetMapping(Consumer<SubnetMapping.Builder> subnetMapping) Sets the value of the SubnetMapping property for this object. This is a convenience method that creates an instance of theSubnetMapping.Builder
avoiding the need to create one manually viaSubnetMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubnetMapping(SubnetMapping)
.- Parameters:
subnetMapping
- a consumer that will call methods onSubnetMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the VPC endpoint association.
- Parameters:
description
- A description of the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags
- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags
- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateVpcEndpointAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateVpcEndpointAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-