@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>
The parameters for a network interface.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
associatePublicIpAddress()
Associates a public IPv4 address with eth0 for a new network interface.
|
static LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
groups()
The IDs of one or more security groups.
|
int |
hashCode() |
Integer |
ipv6AddressCount()
The number of IPv6 addresses to assign to a network interface.
|
List<InstanceIpv6AddressRequest> |
ipv6Addresses()
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet.
|
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 to assign to a network interface.
|
static Class<? extends LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder> |
serializableBuilderClass() |
String |
subnetId()
The ID of the subnet for the network interface.
|
LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Boolean associatePublicIpAddress()
Associates 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 Integer ipv6AddressCount()
The number of IPv6 addresses to assign to a network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.
public List<InstanceIpv6AddressRequest> ipv6Addresses()
One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.
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 to assign to a network interface.
public String subnetId()
The ID of the subnet for the network interface.
public LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceNetworkInterfaceSpecificationRequest>
public static LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder builder()
public static Class<? extends LaunchTemplateInstanceNetworkInterfaceSpecificationRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.