Interface SecondaryInterface.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryInterface.Builder,,SecondaryInterface> SdkBuilder<SecondaryInterface.Builder,,SecondaryInterface> SdkPojo
- Enclosing class:
SecondaryInterface
-
Method Summary
Modifier and TypeMethodDescriptiondefault SecondaryInterface.Builderattachment(Consumer<SecondaryInterfaceAttachment.Builder> attachment) The attachment information for the secondary interface.attachment(SecondaryInterfaceAttachment attachment) The attachment information for the secondary interface.availabilityZone(String availabilityZone) The Availability Zone of the secondary interface.availabilityZoneId(String availabilityZoneId) The ID of the Availability Zone of the secondary interface.macAddress(String macAddress) The MAC address of the secondary interface.The ID of the Amazon Web Services account that owns the secondary interface.privateIpv4Addresses(Collection<SecondaryInterfaceIpv4Address> privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.privateIpv4Addresses(Consumer<SecondaryInterfaceIpv4Address.Builder>... privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.privateIpv4Addresses(SecondaryInterfaceIpv4Address... privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.secondaryInterfaceArn(String secondaryInterfaceArn) The Amazon Resource Name (ARN) of the secondary interface.secondaryInterfaceId(String secondaryInterfaceId) The ID of the secondary interface.secondaryInterfaceType(String secondaryInterfaceType) The type of secondary interface.secondaryInterfaceType(SecondaryInterfaceType secondaryInterfaceType) The type of secondary interface.secondaryNetworkId(String secondaryNetworkId) The ID of the secondary network.secondaryNetworkType(String secondaryNetworkType) The type of the secondary network.secondaryNetworkType(SecondaryNetworkType secondaryNetworkType) The type of the secondary network.secondarySubnetId(String secondarySubnetId) The ID of the secondary subnet.sourceDestCheck(Boolean sourceDestCheck) Indicates whether source/destination checking is enabled.The status of the secondary interface.status(SecondaryInterfaceStatus status) The status of the secondary interface.tags(Collection<Tag> tags) The tags assigned to the secondary interface.tags(Consumer<Tag.Builder>... tags) The tags assigned to the secondary interface.The tags assigned to the secondary interface.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
-
availabilityZone
The Availability Zone of the secondary interface.
- Parameters:
availabilityZone- The Availability Zone of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZoneId
The ID of the Availability Zone of the secondary interface.
- Parameters:
availabilityZoneId- The ID of the Availability Zone of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
The attachment information for the secondary interface.
- Parameters:
attachment- The attachment information for the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default SecondaryInterface.Builder attachment(Consumer<SecondaryInterfaceAttachment.Builder> attachment) The attachment information for the secondary interface.
This is a convenience method that creates an instance of theSecondaryInterfaceAttachment.Builderavoiding the need to create one manually viaSecondaryInterfaceAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(SecondaryInterfaceAttachment).- Parameters:
attachment- a consumer that will call methods onSecondaryInterfaceAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
macAddress
The MAC address of the secondary interface.
- Parameters:
macAddress- The MAC address of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the secondary interface.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpv4Addresses
SecondaryInterface.Builder privateIpv4Addresses(Collection<SecondaryInterfaceIpv4Address> privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.
- Parameters:
privateIpv4Addresses- The private IPv4 addresses associated with the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpv4Addresses
SecondaryInterface.Builder privateIpv4Addresses(SecondaryInterfaceIpv4Address... privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.
- Parameters:
privateIpv4Addresses- The private IPv4 addresses associated with the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpv4Addresses
SecondaryInterface.Builder privateIpv4Addresses(Consumer<SecondaryInterfaceIpv4Address.Builder>... privateIpv4Addresses) The private IPv4 addresses associated with the secondary interface.
This is a convenience method that creates an instance of theSecondaryInterfaceIpv4Address.Builderavoiding the need to create one manually viaSecondaryInterfaceIpv4Address.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprivateIpv4Addresses(List<SecondaryInterfaceIpv4Address>).- Parameters:
privateIpv4Addresses- a consumer that will call methods onSecondaryInterfaceIpv4Address.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryInterfaceId
The ID of the secondary interface.
- Parameters:
secondaryInterfaceId- The ID of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryInterfaceArn
The Amazon Resource Name (ARN) of the secondary interface.
- Parameters:
secondaryInterfaceArn- The Amazon Resource Name (ARN) of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryInterfaceType
The type of secondary interface.
- Parameters:
secondaryInterfaceType- The type of secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryInterfaceType
The type of secondary interface.
- Parameters:
secondaryInterfaceType- The type of secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondarySubnetId
The ID of the secondary subnet.
- Parameters:
secondarySubnetId- The ID of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetworkId
The ID of the secondary network.
- Parameters:
secondaryNetworkId- The ID of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryNetworkType
The type of the secondary network.
- Parameters:
secondaryNetworkType- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryNetworkType
The type of the secondary network.
- Parameters:
secondaryNetworkType- The type of the secondary network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceDestCheck
Indicates whether source/destination checking is enabled.
- Parameters:
sourceDestCheck- Indicates whether source/destination checking is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the secondary interface.
- Parameters:
status- The status of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the secondary interface.
- Parameters:
status- The status of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to the secondary interface.
- Parameters:
tags- The tags assigned to the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary interface.
- Parameters:
tags- The tags assigned to the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the secondary interface.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
-