CopyableBuilder<InstanceNetworkInterface.Builder,InstanceNetworkInterface>
, SdkBuilder<InstanceNetworkInterface.Builder,InstanceNetworkInterface>
public static interface InstanceNetworkInterface.Builder extends CopyableBuilder<InstanceNetworkInterface.Builder,InstanceNetworkInterface>
Modifier and Type | Method | Description |
---|---|---|
InstanceNetworkInterface.Builder |
association(InstanceNetworkInterfaceAssociation association) |
The association information for an Elastic IPv4 associated with the network interface.
|
InstanceNetworkInterface.Builder |
attachment(InstanceNetworkInterfaceAttachment attachment) |
The network interface attachment.
|
InstanceNetworkInterface.Builder |
description(String description) |
The description.
|
InstanceNetworkInterface.Builder |
groups(Collection<GroupIdentifier> groups) |
One or more security groups.
|
InstanceNetworkInterface.Builder |
groups(GroupIdentifier... groups) |
One or more security groups.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses) |
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
ipv6Addresses(InstanceIpv6Address... ipv6Addresses) |
One or more IPv6 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
macAddress(String macAddress) |
The MAC address.
|
InstanceNetworkInterface.Builder |
networkInterfaceId(String networkInterfaceId) |
The ID of the network interface.
|
InstanceNetworkInterface.Builder |
ownerId(String ownerId) |
The ID of the AWS account that created the network interface.
|
InstanceNetworkInterface.Builder |
privateDnsName(String privateDnsName) |
The private DNS name.
|
InstanceNetworkInterface.Builder |
privateIpAddress(String privateIpAddress) |
The IPv4 address of the network interface within the subnet.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses) |
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses) |
One or more private IPv4 addresses associated with the network interface.
|
InstanceNetworkInterface.Builder |
sourceDestCheck(Boolean sourceDestCheck) |
Indicates whether to validate network traffic to or from this network interface.
|
InstanceNetworkInterface.Builder |
status(String status) |
The status of the network interface.
|
InstanceNetworkInterface.Builder |
status(NetworkInterfaceStatus status) |
The status of the network interface.
|
InstanceNetworkInterface.Builder |
subnetId(String subnetId) |
The ID of the subnet.
|
InstanceNetworkInterface.Builder |
vpcId(String vpcId) |
The ID of the VPC.
|
copy
apply, build
InstanceNetworkInterface.Builder association(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IPv4 associated with the network interface.
association
- The association information for an Elastic IPv4 associated with the network interface.InstanceNetworkInterface.Builder attachment(InstanceNetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.InstanceNetworkInterface.Builder description(String description)
The description.
description
- The description.InstanceNetworkInterface.Builder groups(Collection<GroupIdentifier> groups)
One or more security groups.
groups
- One or more security groups.InstanceNetworkInterface.Builder groups(GroupIdentifier... groups)
One or more security groups.
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
- One or more security groups.InstanceNetworkInterface.Builder ipv6Addresses(Collection<InstanceIpv6Address> ipv6Addresses)
One or more IPv6 addresses associated with the network interface.
ipv6Addresses
- One or more IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder ipv6Addresses(InstanceIpv6Address... ipv6Addresses)
One or more 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
- One or more IPv6 addresses associated with the network interface.InstanceNetworkInterface.Builder macAddress(String macAddress)
The MAC address.
macAddress
- The MAC address.InstanceNetworkInterface.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.InstanceNetworkInterface.Builder ownerId(String ownerId)
The ID of the AWS account that created the network interface.
ownerId
- The ID of the AWS account that created the network interface.InstanceNetworkInterface.Builder privateDnsName(String privateDnsName)
The private DNS name.
privateDnsName
- The private DNS name.InstanceNetworkInterface.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.InstanceNetworkInterface.Builder privateIpAddresses(Collection<InstancePrivateIpAddress> privateIpAddresses)
One or more private IPv4 addresses associated with the network interface.
privateIpAddresses
- One or more private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder privateIpAddresses(InstancePrivateIpAddress... privateIpAddresses)
One or more 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
- One or more private IPv4 addresses associated with the network interface.InstanceNetworkInterface.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether to validate network traffic to or from this network interface.
sourceDestCheck
- Indicates whether to validate network traffic to or from this network interface.InstanceNetworkInterface.Builder status(String status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
InstanceNetworkInterface.Builder status(NetworkInterfaceStatus status)
The status of the network interface.
status
- The status of the network interface.NetworkInterfaceStatus
InstanceNetworkInterface.Builder subnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.InstanceNetworkInterface.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.