Interface ProxyVpcConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProxyVpcConfiguration.Builder,,ProxyVpcConfiguration> SdkBuilder<ProxyVpcConfiguration.Builder,,ProxyVpcConfiguration> SdkPojo
- Enclosing class:
ProxyVpcConfiguration
@Mutable
@NotThreadSafe
public static interface ProxyVpcConfiguration.Builder
extends SdkPojo, CopyableBuilder<ProxyVpcConfiguration.Builder,ProxyVpcConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones(Collection<SubnetAndZone> availabilityZones) The Availability Zones used by the proxy.availabilityZones(Consumer<SubnetAndZone.Builder>... availabilityZones) The Availability Zones used by the proxy.availabilityZones(SubnetAndZone... availabilityZones) The Availability Zones used by the proxy.securityGroups(Collection<SecurityGroupDetails> securityGroups) The security groups used by the proxy.securityGroups(Consumer<SecurityGroupDetails.Builder>... securityGroups) The security groups used by the proxy.securityGroups(SecurityGroupDetails... securityGroups) The security groups used by the proxy.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
vpcId
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
The Availability Zones used by the proxy.
- Parameters:
availabilityZones- The Availability Zones used by the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
The Availability Zones used by the proxy.
- Parameters:
availabilityZones- The Availability Zones used by the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
ProxyVpcConfiguration.Builder availabilityZones(Consumer<SubnetAndZone.Builder>... availabilityZones) The Availability Zones used by the proxy.
This is a convenience method that creates an instance of theSubnetAndZone.Builderavoiding the need to create one manually viaSubnetAndZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toavailabilityZones(List<SubnetAndZone>).- Parameters:
availabilityZones- a consumer that will call methods onSubnetAndZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
securityGroups
The security groups used by the proxy.
- Parameters:
securityGroups- The security groups used by the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
The security groups used by the proxy.
- Parameters:
securityGroups- The security groups used by the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
ProxyVpcConfiguration.Builder securityGroups(Consumer<SecurityGroupDetails.Builder>... securityGroups) The security groups used by the proxy.
This is a convenience method that creates an instance of theSecurityGroupDetails.Builderavoiding the need to create one manually viaSecurityGroupDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityGroups(List<SecurityGroupDetails>).- Parameters:
securityGroups- a consumer that will call methods onSecurityGroupDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-