public static interface NetworkInterface.Builder extends SdkPojo, CopyableBuilder<NetworkInterface.Builder,NetworkInterface>
Modifier and Type | Method and Description |
---|---|
default NetworkInterface.Builder |
association(Consumer<NetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
NetworkInterface.Builder |
association(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
default NetworkInterface.Builder |
attachment(Consumer<NetworkInterfaceAttachment.Builder> attachment)
The network interface attachment.
|
NetworkInterface.Builder |
attachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
|
NetworkInterface.Builder |
availabilityZone(String availabilityZone)
The Availability Zone.
|
NetworkInterface.Builder |
denyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet.
|
NetworkInterface.Builder |
description(String description)
A description.
|
NetworkInterface.Builder |
groups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
|
NetworkInterface.Builder |
groups(Consumer<GroupIdentifier.Builder>... groups)
Any security groups for the network interface.
|
NetworkInterface.Builder |
groups(GroupIdentifier... groups)
Any security groups for the network interface.
|
NetworkInterface.Builder |
interfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
|
NetworkInterface.Builder |
interfaceType(String interfaceType)
The type of network interface.
|
NetworkInterface.Builder |
ipv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
ipv4Prefixes(Consumer<Ipv4PrefixSpecification.Builder>... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
ipv4Prefixes(Ipv4PrefixSpecification... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
ipv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
|
NetworkInterface.Builder |
ipv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface.Builder |
ipv6Addresses(Consumer<NetworkInterfaceIpv6Address.Builder>... ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface.Builder |
ipv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
|
NetworkInterface.Builder |
ipv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
|
NetworkInterface.Builder |
ipv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
ipv6Prefixes(Consumer<Ipv6PrefixSpecification.Builder>... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
ipv6Prefixes(Ipv6PrefixSpecification... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
|
NetworkInterface.Builder |
macAddress(String macAddress)
The MAC address.
|
NetworkInterface.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface.Builder |
outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
|
NetworkInterface.Builder |
ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
|
NetworkInterface.Builder |
privateDnsName(String privateDnsName)
The private DNS name.
|
NetworkInterface.Builder |
privateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
|
NetworkInterface.Builder |
privateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddresses(Consumer<NetworkInterfacePrivateIpAddress.Builder>... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
NetworkInterface.Builder |
requesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
|
NetworkInterface.Builder |
requesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
|
NetworkInterface.Builder |
sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
NetworkInterface.Builder |
status(NetworkInterfaceStatus status)
The status of the network interface.
|
NetworkInterface.Builder |
status(String status)
The status of the network interface.
|
NetworkInterface.Builder |
subnetId(String subnetId)
The ID of the subnet.
|
NetworkInterface.Builder |
tagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
|
NetworkInterface.Builder |
tagSet(Consumer<Tag.Builder>... tagSet)
Any tags assigned to the network interface.
|
NetworkInterface.Builder |
tagSet(Tag... tagSet)
Any tags assigned to the network interface.
|
NetworkInterface.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
NetworkInterface.Builder association(NetworkInterfaceAssociation association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
association
- The association information for an Elastic IP address (IPv4) associated with the network interface.default NetworkInterface.Builder association(Consumer<NetworkInterfaceAssociation.Builder> association)
The association information for an Elastic IP address (IPv4) associated with the network interface.
This is a convenience method that creates an instance of theNetworkInterfaceAssociation.Builder
avoiding the need to create one manually via NetworkInterfaceAssociation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to association(NetworkInterfaceAssociation)
.
association
- a consumer that will call methods on NetworkInterfaceAssociation.Builder
association(NetworkInterfaceAssociation)
NetworkInterface.Builder attachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.default NetworkInterface.Builder attachment(Consumer<NetworkInterfaceAttachment.Builder> attachment)
The network interface attachment.
This is a convenience method that creates an instance of theNetworkInterfaceAttachment.Builder
avoiding the need to create one manually via NetworkInterfaceAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to attachment(NetworkInterfaceAttachment)
.
attachment
- a consumer that will call methods on NetworkInterfaceAttachment.Builder
attachment(NetworkInterfaceAttachment)
NetworkInterface.Builder availabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone
- The Availability Zone.NetworkInterface.Builder description(String description)
A description.
description
- A description.NetworkInterface.Builder groups(Collection<GroupIdentifier> groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.NetworkInterface.Builder groups(GroupIdentifier... groups)
Any security groups for the network interface.
groups
- Any security groups for the network interface.NetworkInterface.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
Any security groups for the network interface.
This is a convenience method that creates an instance of theGroupIdentifier.Builder
avoiding the need to create one
manually via GroupIdentifier.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #groups(List
.
groups
- a consumer that will call methods on
GroupIdentifier.Builder
#groups(java.util.Collection)
NetworkInterface.Builder interfaceType(String interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
,
NetworkInterfaceType
NetworkInterface.Builder interfaceType(NetworkInterfaceType interfaceType)
The type of network interface.
interfaceType
- The type of network interface.NetworkInterfaceType
,
NetworkInterfaceType
NetworkInterface.Builder ipv6Addresses(Collection<NetworkInterfaceIpv6Address> ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.NetworkInterface.Builder ipv6Addresses(NetworkInterfaceIpv6Address... ipv6Addresses)
The IPv6 addresses associated with the network interface.
ipv6Addresses
- The IPv6 addresses associated with the network interface.NetworkInterface.Builder ipv6Addresses(Consumer<NetworkInterfaceIpv6Address.Builder>... ipv6Addresses)
The IPv6 addresses associated with the network interface.
This is a convenience method that creates an instance of theNetworkInterfaceIpv6Address.Builder
avoiding the need to
create one manually via
NetworkInterfaceIpv6Address.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv6Addresses(List
.
ipv6Addresses
- a consumer that will call methods on
NetworkInterfaceIpv6Address.Builder
#ipv6Addresses(java.util.Collection)
NetworkInterface.Builder macAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.NetworkInterface.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.NetworkInterface.Builder outpostArn(String outpostArn)
The Amazon Resource Name (ARN) of the Outpost.
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.NetworkInterface.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the network interface.
ownerId
- The Amazon Web Services account ID of the owner of the network interface.NetworkInterface.Builder privateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.NetworkInterface.Builder privateIpAddress(String privateIpAddress)
The IPv4 address of the network interface within the subnet.
privateIpAddress
- The IPv4 address of the network interface within the subnet.NetworkInterface.Builder privateIpAddresses(Collection<NetworkInterfacePrivateIpAddress> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.NetworkInterface.Builder privateIpAddresses(NetworkInterfacePrivateIpAddress... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.NetworkInterface.Builder privateIpAddresses(Consumer<NetworkInterfacePrivateIpAddress.Builder>... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
This is a convenience method that creates an instance of theNetworkInterfacePrivateIpAddress.Builder
avoiding the need
to create one manually via
NetworkInterfacePrivateIpAddress.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #privateIpAddresses(List
.
privateIpAddresses
- a consumer that will call methods on
NetworkInterfacePrivateIpAddress.Builder
#privateIpAddresses(java.util.Collection)
NetworkInterface.Builder ipv4Prefixes(Collection<Ipv4PrefixSpecification> ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.NetworkInterface.Builder ipv4Prefixes(Ipv4PrefixSpecification... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
ipv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.NetworkInterface.Builder ipv4Prefixes(Consumer<Ipv4PrefixSpecification.Builder>... ipv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
This is a convenience method that creates an instance of theIpv4PrefixSpecification.Builder
avoiding the need to create
one manually via Ipv4PrefixSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv4Prefixes(List
.
ipv4Prefixes
- a consumer that will call methods on
Ipv4PrefixSpecification.Builder
#ipv4Prefixes(java.util.Collection)
NetworkInterface.Builder ipv6Prefixes(Collection<Ipv6PrefixSpecification> ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 prefixes that are assigned to the network interface.NetworkInterface.Builder ipv6Prefixes(Ipv6PrefixSpecification... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
ipv6Prefixes
- The IPv6 prefixes that are assigned to the network interface.NetworkInterface.Builder ipv6Prefixes(Consumer<Ipv6PrefixSpecification.Builder>... ipv6Prefixes)
The IPv6 prefixes that are assigned to the network interface.
This is a convenience method that creates an instance of theIpv6PrefixSpecification.Builder
avoiding the need to create
one manually via Ipv6PrefixSpecification.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #ipv6Prefixes(List
.
ipv6Prefixes
- a consumer that will call methods on
Ipv6PrefixSpecification.Builder
#ipv6Prefixes(java.util.Collection)
NetworkInterface.Builder requesterId(String requesterId)
The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requesterId
- The alias or Amazon Web Services account ID of the principal or service that created the network
interface.NetworkInterface.Builder requesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by Amazon Web Services.
requesterManaged
- Indicates whether the network interface is being managed by Amazon Web Services.NetworkInterface.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.NetworkInterface.Builder status(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
,
NetworkInterfaceStatus
NetworkInterface.Builder status(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
,
NetworkInterfaceStatus
NetworkInterface.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.NetworkInterface.Builder tagSet(Collection<Tag> tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.NetworkInterface.Builder tagSet(Tag... tagSet)
Any tags assigned to the network interface.
tagSet
- Any tags assigned to the network interface.NetworkInterface.Builder tagSet(Consumer<Tag.Builder>... tagSet)
Any tags assigned to the network interface.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tagSet(List
.
tagSet
- a consumer that will call methods on Tag.Builder
#tagSet(java.util.Collection)
NetworkInterface.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.NetworkInterface.Builder denyAllIgwTraffic(Boolean denyAllIgwTraffic)
Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the
value is true
, inbound traffic from the internet is dropped and you cannot assign an elastic IP
address to the network interface. The network interface is reachable from peered VPCs and resources connected
through a transit gateway, including on-premises networks.
denyAllIgwTraffic
- Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If
the value is true
, inbound traffic from the internet is dropped and you cannot assign an
elastic IP address to the network interface. The network interface is reachable from peered VPCs and
resources connected through a transit gateway, including on-premises networks.NetworkInterface.Builder ipv6Native(Boolean ipv6Native)
Indicates whether this is an IPv6 only network interface.
ipv6Native
- Indicates whether this is an IPv6 only network interface.NetworkInterface.Builder ipv6Address(String ipv6Address)
The IPv6 globally unique address associated with the network interface.
ipv6Address
- The IPv6 globally unique address associated with the network interface.Copyright © 2023. All rights reserved.