public static interface NetworkInterface.Builder extends SdkPojo, CopyableBuilder<NetworkInterface.Builder,NetworkInterface>
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface.Builder |
ipv6Addresses(Collection<String> ipv6Addresses)
The IP addresses associated with the network interface.
|
NetworkInterface.Builder |
ipv6Addresses(String... ipv6Addresses)
The IP addresses associated with the network interface.
|
NetworkInterface.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
NetworkInterface.Builder |
privateDnsName(String privateDnsName)
The name of a private DNS associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddress(String privateIpAddress)
The private IP address associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddresses(Collection<PrivateIp> privateIpAddresses)
A list of the private IP addresses associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddresses(Consumer<PrivateIp.Builder>... privateIpAddresses)
A list of the private IP addresses associated with the network interface.
|
NetworkInterface.Builder |
privateIpAddresses(PrivateIp... privateIpAddresses)
A list of the private IP addresses associated with the network interface.
|
NetworkInterface.Builder |
publicDnsName(String publicDnsName)
The name of a public DNS associated with the network interface.
|
NetworkInterface.Builder |
publicIp(String publicIp)
The public IP address from which the network interface is reachable.
|
NetworkInterface.Builder |
securityGroups(Collection<SecurityGroup> securityGroups)
A list of the security groups associated with the network interface.
|
NetworkInterface.Builder |
securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
A list of the security groups associated with the network interface.
|
NetworkInterface.Builder |
securityGroups(SecurityGroup... securityGroups)
A list of the security groups associated with the network interface.
|
NetworkInterface.Builder |
subnetId(String subnetId)
The ID of a subnet associated with the network interface.
|
NetworkInterface.Builder |
vpcId(String vpcId)
The ID of a VPC associated with the network interface.
|
copyapplyMutation, buildNetworkInterface.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId - The ID of the network interface.NetworkInterface.Builder subnetId(String subnetId)
The ID of a subnet associated with the network interface.
subnetId - The ID of a subnet associated with the network interface.NetworkInterface.Builder vpcId(String vpcId)
The ID of a VPC associated with the network interface.
vpcId - The ID of a VPC associated with the network interface.NetworkInterface.Builder privateDnsName(String privateDnsName)
The name of a private DNS associated with the network interface.
privateDnsName - The name of a private DNS associated with the network interface.NetworkInterface.Builder privateIpAddress(String privateIpAddress)
The private IP address associated with the network interface.
privateIpAddress - The private IP address associated with the network interface.NetworkInterface.Builder privateIpAddresses(Collection<PrivateIp> privateIpAddresses)
A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.
privateIpAddresses - A list of the private IP addresses associated with the network interface. Includes the privateDnsName
and privateIpAddress.NetworkInterface.Builder privateIpAddresses(PrivateIp... privateIpAddresses)
A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.
privateIpAddresses - A list of the private IP addresses associated with the network interface. Includes the privateDnsName
and privateIpAddress.NetworkInterface.Builder privateIpAddresses(Consumer<PrivateIp.Builder>... privateIpAddresses)
A list of the private IP addresses associated with the network interface. Includes the privateDnsName and privateIpAddress.
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 publicDnsName(String publicDnsName)
The name of a public DNS associated with the network interface.
publicDnsName - The name of a public DNS associated with the network interface.NetworkInterface.Builder publicIp(String publicIp)
The public IP address from which the network interface is reachable.
publicIp - The public IP address from which the network interface is reachable.NetworkInterface.Builder ipv6Addresses(Collection<String> ipv6Addresses)
The IP addresses associated with the network interface.
ipv6Addresses - The IP addresses associated with the network interface.NetworkInterface.Builder ipv6Addresses(String... ipv6Addresses)
The IP addresses associated with the network interface.
ipv6Addresses - The IP addresses associated with the network interface.NetworkInterface.Builder securityGroups(Collection<SecurityGroup> securityGroups)
A list of the security groups associated with the network interface. Includes the groupId and groupName.
securityGroups - A list of the security groups associated with the network interface. Includes the groupId and
groupName.NetworkInterface.Builder securityGroups(SecurityGroup... securityGroups)
A list of the security groups associated with the network interface. Includes the groupId and groupName.
securityGroups - A list of the security groups associated with the network interface. Includes the groupId and
groupName.NetworkInterface.Builder securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
A list of the security groups associated with the network interface. Includes the groupId and groupName.
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 #securityGroups(List) .securityGroups - a consumer that will call methods on List.Builder #securityGroups(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.