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 |
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 |
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 |
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 AWS 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 ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto
Scaling).
|
NetworkInterface.Builder |
requesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by AWS.
|
NetworkInterface.Builder |
sourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
|
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 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 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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #ipv6Addresses(List)
.ipv6Addresses
- a consumer that will call methods on List.Builder
#ipv6Addresses(List)
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 AWS account ID of the owner of the network interface.
ownerId
- The AWS 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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #privateIpAddresses(List)
.privateIpAddresses
- a consumer that will call methods on List.Builder
#privateIpAddresses(List)
NetworkInterface.Builder requesterId(String requesterId)
The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or Auto Scaling).
requesterId
- The ID of the entity that launched the instance on your behalf (for example, AWS Management Console or
Auto Scaling).NetworkInterface.Builder requesterManaged(Boolean requesterManaged)
Indicates whether the network interface is being managed by AWS.
requesterManaged
- Indicates whether the network interface is being managed by AWS.NetworkInterface.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
sourceDestCheck
- Indicates whether traffic to or from the instance is validated.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 that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tagSet(List)
.tagSet
- a consumer that will call methods on List.Builder
#tagSet(List)
NetworkInterface.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2019. All rights reserved.