Interface VpcEndpointAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEndpointAssociation.Builder,
,VpcEndpointAssociation> SdkBuilder<VpcEndpointAssociation.Builder,
,VpcEndpointAssociation> SdkPojo
- Enclosing class:
VpcEndpointAssociation
@Mutable
@NotThreadSafe
public static interface VpcEndpointAssociation.Builder
extends SdkPojo, CopyableBuilder<VpcEndpointAssociation.Builder,VpcEndpointAssociation>
-
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.default VpcEndpointAssociation.Builder
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.vpcEndpointAssociationArn
(String vpcEndpointAssociationArn) The Amazon Resource Name (ARN) of a VPC endpoint association.vpcEndpointAssociationId
(String vpcEndpointAssociationId) The unique identifier of the VPC endpoint association.The unique identifier of the VPC for the endpoint association.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
vpcEndpointAssociationId
The unique identifier of the VPC endpoint association.
- Parameters:
vpcEndpointAssociationId
- The unique identifier of the VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpointAssociationArn
The Amazon Resource Name (ARN) of a VPC endpoint association.
- Parameters:
vpcEndpointAssociationArn
- The Amazon Resource Name (ARN) of a VPC endpoint association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 for the endpoint association.
- Parameters:
vpcId
- The unique identifier of the VPC for the endpoint association.- 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
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:
-