CopyableBuilder<NetworkInterface.Builder,NetworkInterface>
, SdkBuilder<NetworkInterface.Builder,NetworkInterface>
public static interface NetworkInterface.Builder extends CopyableBuilder<NetworkInterface.Builder,NetworkInterface>
Modifier and Type | Method | Description |
---|---|---|
NetworkInterface.Builder |
association(NetworkInterfaceAssociation association) |
The association information for an Elastic IP address (IPv4) associated with the network interface.
|
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(GroupIdentifier... groups) |
Any security groups for the network interface.
|
NetworkInterface.Builder |
interfaceType(String interfaceType) |
The type of interface.
|
NetworkInterface.Builder |
interfaceType(NetworkInterfaceType interfaceType) |
The type of interface.
|
NetworkInterface.Builder |
ipv6Addresses(Collection<NetworkInterfaceIpv6Address> 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 |
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(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(String status) |
The status of the network interface.
|
NetworkInterface.Builder |
status(NetworkInterfaceStatus 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(Tag... tagSet) |
Any tags assigned to the network interface.
|
NetworkInterface.Builder |
vpcId(String vpcId) |
The ID of the VPC.
|
copy
apply, 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.NetworkInterface.Builder attachment(NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.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.
NOTE: This method appends the values to the existing list (if any). Use
#setGroups(java.util.Collection)
or #withGroups(java.util.Collection)
if you want to override
the existing values.
groups
- Any security groups for the network interface.NetworkInterface.Builder interfaceType(String interfaceType)
The type of interface.
interfaceType
- The type of interface.NetworkInterfaceType
NetworkInterface.Builder interfaceType(NetworkInterfaceType interfaceType)
The type of interface.
interfaceType
- The type of interface.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.
NOTE: This method appends the values to the existing list (if any). Use
#setIpv6Addresses(java.util.Collection)
or #withIpv6Addresses(java.util.Collection)
if you
want to override the existing values.
ipv6Addresses
- The IPv6 addresses associated with the network interface.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 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.
NOTE: This method appends the values to the existing list (if any). Use
#setPrivateIpAddresses(java.util.Collection)
or #withPrivateIpAddresses(java.util.Collection)
if you want to override the existing values.
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).
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
NetworkInterface.Builder status(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.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.
NOTE: This method appends the values to the existing list (if any). Use
#setTagSet(java.util.Collection)
or #withTagSet(java.util.Collection)
if you want to override
the existing values.
tagSet
- Any tags assigned to the network interface.NetworkInterface.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.