Interface SecondaryInterface.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryInterface.Builder,SecondaryInterface>,SdkBuilder<SecondaryInterface.Builder,SecondaryInterface>,SdkPojo
- Enclosing class:
- SecondaryInterface
@Mutable @NotThreadSafe public static interface SecondaryInterface.Builder extends SdkPojo, CopyableBuilder<SecondaryInterface.Builder,SecondaryInterface>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SecondaryInterface.Builderattachment(Consumer<SecondaryInterfaceAttachment.Builder> attachment)The attachment information for the secondary interface.SecondaryInterface.Builderattachment(SecondaryInterfaceAttachment attachment)The attachment information for the secondary interface.SecondaryInterface.BuilderavailabilityZone(String availabilityZone)The Availability Zone of the secondary interface.SecondaryInterface.BuilderavailabilityZoneId(String availabilityZoneId)The ID of the Availability Zone of the secondary interface.SecondaryInterface.BuildermacAddress(String macAddress)The MAC address of the secondary interface.SecondaryInterface.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the secondary interface.SecondaryInterface.BuilderprivateIpv4Addresses(Collection<SecondaryInterfaceIpv4Address> privateIpv4Addresses)The private IPv4 addresses associated with the secondary interface.SecondaryInterface.BuilderprivateIpv4Addresses(Consumer<SecondaryInterfaceIpv4Address.Builder>... privateIpv4Addresses)The private IPv4 addresses associated with the secondary interface.SecondaryInterface.BuilderprivateIpv4Addresses(SecondaryInterfaceIpv4Address... privateIpv4Addresses)The private IPv4 addresses associated with the secondary interface.SecondaryInterface.BuildersecondaryInterfaceArn(String secondaryInterfaceArn)The Amazon Resource Name (ARN) of the secondary interface.SecondaryInterface.BuildersecondaryInterfaceId(String secondaryInterfaceId)The ID of the secondary interface.SecondaryInterface.BuildersecondaryInterfaceType(String secondaryInterfaceType)The type of secondary interface.SecondaryInterface.BuildersecondaryInterfaceType(SecondaryInterfaceType secondaryInterfaceType)The type of secondary interface.SecondaryInterface.BuildersecondaryNetworkId(String secondaryNetworkId)The ID of the secondary network.SecondaryInterface.BuildersecondaryNetworkType(String secondaryNetworkType)The type of the secondary network.SecondaryInterface.BuildersecondaryNetworkType(SecondaryNetworkType secondaryNetworkType)The type of the secondary network.SecondaryInterface.BuildersecondarySubnetId(String secondarySubnetId)The ID of the secondary subnet.SecondaryInterface.BuildersourceDestCheck(Boolean sourceDestCheck)Indicates whether source/destination checking is enabled.SecondaryInterface.Builderstatus(String status)The status of the secondary interface.SecondaryInterface.Builderstatus(SecondaryInterfaceStatus status)The status of the secondary interface.SecondaryInterface.Buildertags(Collection<Tag> tags)The tags assigned to the secondary interface.SecondaryInterface.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the secondary interface.SecondaryInterface.Buildertags(Tag... tags)The tags assigned to the secondary interface.-
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 Detail
-
availabilityZone
SecondaryInterface.Builder availabilityZone(String 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
SecondaryInterface.Builder availabilityZoneId(String 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
SecondaryInterface.Builder attachment(SecondaryInterfaceAttachment 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:
attachment(SecondaryInterfaceAttachment)
-
macAddress
SecondaryInterface.Builder macAddress(String 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
SecondaryInterface.Builder ownerId(String 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 to#privateIpv4Addresses(List.) - 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:
#privateIpv4Addresses(java.util.Collection)
-
secondaryInterfaceId
SecondaryInterface.Builder secondaryInterfaceId(String 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
SecondaryInterface.Builder secondaryInterfaceArn(String 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
SecondaryInterface.Builder secondaryInterfaceType(String 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,SecondaryInterfaceType
-
secondaryInterfaceType
SecondaryInterface.Builder secondaryInterfaceType(SecondaryInterfaceType 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,SecondaryInterfaceType
-
secondarySubnetId
SecondaryInterface.Builder secondarySubnetId(String 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
SecondaryInterface.Builder secondaryNetworkId(String 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
SecondaryInterface.Builder secondaryNetworkType(String 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,SecondaryNetworkType
-
secondaryNetworkType
SecondaryInterface.Builder secondaryNetworkType(SecondaryNetworkType 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,SecondaryNetworkType
-
sourceDestCheck
SecondaryInterface.Builder sourceDestCheck(Boolean 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
SecondaryInterface.Builder status(String 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:
SecondaryInterfaceStatus,SecondaryInterfaceStatus
-
status
SecondaryInterface.Builder status(SecondaryInterfaceStatus 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:
SecondaryInterfaceStatus,SecondaryInterfaceStatus
-
tags
SecondaryInterface.Builder tags(Collection<Tag> 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
SecondaryInterface.Builder tags(Tag... 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
SecondaryInterface.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-