Interface VpcEncryptionControlExclusions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEncryptionControlExclusions.Builder,
,VpcEncryptionControlExclusions> SdkBuilder<VpcEncryptionControlExclusions.Builder,
,VpcEncryptionControlExclusions> SdkPojo
- Enclosing class:
VpcEncryptionControlExclusions
@Mutable
@NotThreadSafe
public static interface VpcEncryptionControlExclusions.Builder
extends SdkPojo, CopyableBuilder<VpcEncryptionControlExclusions.Builder,VpcEncryptionControlExclusions>
-
Method Summary
Modifier and TypeMethodDescriptionegressOnlyInternetGateway
(Consumer<VpcEncryptionControlExclusion.Builder> egressOnlyInternetGateway) Sets the value of the EgressOnlyInternetGateway property for this object.egressOnlyInternetGateway
(VpcEncryptionControlExclusion egressOnlyInternetGateway) Sets the value of the EgressOnlyInternetGateway property for this object.internetGateway
(Consumer<VpcEncryptionControlExclusion.Builder> internetGateway) Sets the value of the InternetGateway property for this object.internetGateway
(VpcEncryptionControlExclusion internetGateway) Sets the value of the InternetGateway property for this object.natGateway
(Consumer<VpcEncryptionControlExclusion.Builder> natGateway) Sets the value of the NatGateway property for this object.natGateway
(VpcEncryptionControlExclusion natGateway) Sets the value of the NatGateway property for this object.virtualPrivateGateway
(Consumer<VpcEncryptionControlExclusion.Builder> virtualPrivateGateway) Sets the value of the VirtualPrivateGateway property for this object.virtualPrivateGateway
(VpcEncryptionControlExclusion virtualPrivateGateway) Sets the value of the VirtualPrivateGateway property for this object.vpcPeering
(Consumer<VpcEncryptionControlExclusion.Builder> vpcPeering) Sets the value of the VpcPeering property for this object.vpcPeering
(VpcEncryptionControlExclusion vpcPeering) Sets the value of the VpcPeering property for this object.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
-
internetGateway
VpcEncryptionControlExclusions.Builder internetGateway(VpcEncryptionControlExclusion internetGateway) Sets the value of the InternetGateway property for this object.- Parameters:
internetGateway
- The new value for the InternetGateway property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
internetGateway
default VpcEncryptionControlExclusions.Builder internetGateway(Consumer<VpcEncryptionControlExclusion.Builder> internetGateway) Sets the value of the InternetGateway property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusion.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointernetGateway(VpcEncryptionControlExclusion)
.- Parameters:
internetGateway
- a consumer that will call methods onVpcEncryptionControlExclusion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
egressOnlyInternetGateway
VpcEncryptionControlExclusions.Builder egressOnlyInternetGateway(VpcEncryptionControlExclusion egressOnlyInternetGateway) Sets the value of the EgressOnlyInternetGateway property for this object.- Parameters:
egressOnlyInternetGateway
- The new value for the EgressOnlyInternetGateway property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressOnlyInternetGateway
default VpcEncryptionControlExclusions.Builder egressOnlyInternetGateway(Consumer<VpcEncryptionControlExclusion.Builder> egressOnlyInternetGateway) Sets the value of the EgressOnlyInternetGateway property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusion.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toegressOnlyInternetGateway(VpcEncryptionControlExclusion)
.- Parameters:
egressOnlyInternetGateway
- a consumer that will call methods onVpcEncryptionControlExclusion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
natGateway
Sets the value of the NatGateway property for this object.- Parameters:
natGateway
- The new value for the NatGateway property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGateway
default VpcEncryptionControlExclusions.Builder natGateway(Consumer<VpcEncryptionControlExclusion.Builder> natGateway) Sets the value of the NatGateway property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusion.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonatGateway(VpcEncryptionControlExclusion)
.- Parameters:
natGateway
- a consumer that will call methods onVpcEncryptionControlExclusion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
virtualPrivateGateway
VpcEncryptionControlExclusions.Builder virtualPrivateGateway(VpcEncryptionControlExclusion virtualPrivateGateway) Sets the value of the VirtualPrivateGateway property for this object.- Parameters:
virtualPrivateGateway
- The new value for the VirtualPrivateGateway property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualPrivateGateway
default VpcEncryptionControlExclusions.Builder virtualPrivateGateway(Consumer<VpcEncryptionControlExclusion.Builder> virtualPrivateGateway) Sets the value of the VirtualPrivateGateway property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusion.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovirtualPrivateGateway(VpcEncryptionControlExclusion)
.- Parameters:
virtualPrivateGateway
- a consumer that will call methods onVpcEncryptionControlExclusion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcPeering
Sets the value of the VpcPeering property for this object.- Parameters:
vpcPeering
- The new value for the VpcPeering property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcPeering
default VpcEncryptionControlExclusions.Builder vpcPeering(Consumer<VpcEncryptionControlExclusion.Builder> vpcPeering) Sets the value of the VpcPeering property for this object. This is a convenience method that creates an instance of theVpcEncryptionControlExclusion.Builder
avoiding the need to create one manually viaVpcEncryptionControlExclusion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcPeering(VpcEncryptionControlExclusion)
.- Parameters:
vpcPeering
- a consumer that will call methods onVpcEncryptionControlExclusion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-