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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 method that creates an instance of thePrivateIp.Builder avoiding the need to create one
manually via PrivateIp.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
PrivateIp.Builder#privateIpAddresses(java.util.Collection) 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 method that creates an instance of theSecurityGroup.Builder avoiding the need to create one
manually via SecurityGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #securityGroups(List.
securityGroups - a consumer that will call methods on
SecurityGroup.Builder#securityGroups(java.util.Collection) Copyright © 2023. All rights reserved.