@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceNetworkInterfaceSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecification.Builder,LaunchTemplateInstanceNetworkInterfaceSpecification>
Describes a network interface.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LaunchTemplateInstanceNetworkInterfaceSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
associatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
|
static LaunchTemplateInstanceNetworkInterfaceSpecification.Builder |
builder() |
Boolean |
deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
String |
description()
A description for the network interface.
|
Integer |
deviceIndex()
The device index for the network interface attachment.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
groups()
The IDs of one or more security groups.
|
int |
hashCode() |
String |
interfaceType()
The type of network interface.
|
Integer |
ipv6AddressCount()
The number of IPv6 addresses for the network interface.
|
List<InstanceIpv6Address> |
ipv6Addresses()
The IPv6 addresses for the network interface.
|
String |
networkInterfaceId()
The ID of the network interface.
|
String |
privateIpAddress()
The primary private IPv4 address of the network interface.
|
List<PrivateIpAddressSpecification> |
privateIpAddresses()
One or more private IPv4 addresses.
|
List<SdkField<?>> |
sdkFields() |
Integer |
secondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses for the network interface.
|
static Class<? extends LaunchTemplateInstanceNetworkInterfaceSpecification.Builder> |
serializableBuilderClass() |
String |
subnetId()
The ID of the subnet for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean associatePublicIpAddress()
Indicates whether to associate a public IPv4 address with eth0 for a new network interface.
public Boolean deleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public String description()
A description for the network interface.
public Integer deviceIndex()
The device index for the network interface attachment.
public List<String> groups()
The IDs of one or more security groups.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String interfaceType()
The type of network interface.
public Integer ipv6AddressCount()
The number of IPv6 addresses for the network interface.
public List<InstanceIpv6Address> ipv6Addresses()
The IPv6 addresses for the network interface.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String networkInterfaceId()
The ID of the network interface.
public String privateIpAddress()
The primary private IPv4 address of the network interface.
public List<PrivateIpAddressSpecification> privateIpAddresses()
One or more private IPv4 addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer secondaryPrivateIpAddressCount()
The number of secondary private IPv4 addresses for the network interface.
public String subnetId()
The ID of the subnet for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecification.Builder toBuilder()
public static LaunchTemplateInstanceNetworkInterfaceSpecification.Builder builder()
public static Class<? extends LaunchTemplateInstanceNetworkInterfaceSpecification.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.