@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2NetworkInterfaceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the network interface
Constructor and Description |
---|
AwsEc2NetworkInterfaceDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2NetworkInterfaceDetails |
clone() |
boolean |
equals(Object obj) |
AwsEc2NetworkInterfaceAttachment |
getAttachment()
The network interface attachment.
|
List<AwsEc2NetworkInterfaceIpV6AddressDetail> |
getIpV6Addresses()
The IPv6 addresses associated with the network interface.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
List<AwsEc2NetworkInterfacePrivateIpAddressDetail> |
getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
|
String |
getPublicDnsName()
The public DNS name of the network interface.
|
String |
getPublicIp()
The address of the Elastic IP address bound to the network interface.
|
List<AwsEc2NetworkInterfaceSecurityGroup> |
getSecurityGroups()
Security groups for the network interface.
|
Boolean |
getSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
|
int |
hashCode() |
Boolean |
isSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(AwsEc2NetworkInterfaceAttachment attachment)
The network interface attachment.
|
void |
setIpV6Addresses(Collection<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses)
The IPv6 addresses associated with the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setPrivateIpAddresses(Collection<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
void |
setPublicDnsName(String publicDnsName)
The public DNS name of the network interface.
|
void |
setPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
|
void |
setSecurityGroups(Collection<AwsEc2NetworkInterfaceSecurityGroup> securityGroups)
Security groups for the network interface.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2NetworkInterfaceDetails |
withAttachment(AwsEc2NetworkInterfaceAttachment attachment)
The network interface attachment.
|
AwsEc2NetworkInterfaceDetails |
withIpV6Addresses(AwsEc2NetworkInterfaceIpV6AddressDetail... ipV6Addresses)
The IPv6 addresses associated with the network interface.
|
AwsEc2NetworkInterfaceDetails |
withIpV6Addresses(Collection<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses)
The IPv6 addresses associated with the network interface.
|
AwsEc2NetworkInterfaceDetails |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
AwsEc2NetworkInterfaceDetails |
withPrivateIpAddresses(AwsEc2NetworkInterfacePrivateIpAddressDetail... privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
AwsEc2NetworkInterfaceDetails |
withPrivateIpAddresses(Collection<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
|
AwsEc2NetworkInterfaceDetails |
withPublicDnsName(String publicDnsName)
The public DNS name of the network interface.
|
AwsEc2NetworkInterfaceDetails |
withPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
|
AwsEc2NetworkInterfaceDetails |
withSecurityGroups(AwsEc2NetworkInterfaceSecurityGroup... securityGroups)
Security groups for the network interface.
|
AwsEc2NetworkInterfaceDetails |
withSecurityGroups(Collection<AwsEc2NetworkInterfaceSecurityGroup> securityGroups)
Security groups for the network interface.
|
AwsEc2NetworkInterfaceDetails |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
|
public void setAttachment(AwsEc2NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public AwsEc2NetworkInterfaceAttachment getAttachment()
The network interface attachment.
public AwsEc2NetworkInterfaceDetails withAttachment(AwsEc2NetworkInterfaceAttachment attachment)
The network interface attachment.
attachment
- The network interface attachment.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public AwsEc2NetworkInterfaceDetails withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public List<AwsEc2NetworkInterfaceSecurityGroup> getSecurityGroups()
Security groups for the network interface.
public void setSecurityGroups(Collection<AwsEc2NetworkInterfaceSecurityGroup> securityGroups)
Security groups for the network interface.
securityGroups
- Security groups for the network interface.public AwsEc2NetworkInterfaceDetails withSecurityGroups(AwsEc2NetworkInterfaceSecurityGroup... securityGroups)
Security groups for the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- Security groups for the network interface.public AwsEc2NetworkInterfaceDetails withSecurityGroups(Collection<AwsEc2NetworkInterfaceSecurityGroup> securityGroups)
Security groups for the network interface.
securityGroups
- Security groups for the network interface.public void setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
sourceDestCheck
- Indicates whether traffic to or from the instance is validated.public Boolean getSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
public AwsEc2NetworkInterfaceDetails withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether traffic to or from the instance is validated.
sourceDestCheck
- Indicates whether traffic to or from the instance is validated.public Boolean isSourceDestCheck()
Indicates whether traffic to or from the instance is validated.
public List<AwsEc2NetworkInterfaceIpV6AddressDetail> getIpV6Addresses()
The IPv6 addresses associated with the network interface.
public void setIpV6Addresses(Collection<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses)
The IPv6 addresses associated with the network interface.
ipV6Addresses
- The IPv6 addresses associated with the network interface.public AwsEc2NetworkInterfaceDetails withIpV6Addresses(AwsEc2NetworkInterfaceIpV6AddressDetail... ipV6Addresses)
The 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
- The IPv6 addresses associated with the network interface.public AwsEc2NetworkInterfaceDetails withIpV6Addresses(Collection<AwsEc2NetworkInterfaceIpV6AddressDetail> ipV6Addresses)
The IPv6 addresses associated with the network interface.
ipV6Addresses
- The IPv6 addresses associated with the network interface.public List<AwsEc2NetworkInterfacePrivateIpAddressDetail> getPrivateIpAddresses()
The private IPv4 addresses associated with the network interface.
public void setPrivateIpAddresses(Collection<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public AwsEc2NetworkInterfaceDetails withPrivateIpAddresses(AwsEc2NetworkInterfacePrivateIpAddressDetail... privateIpAddresses)
The 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
- The private IPv4 addresses associated with the network interface.public AwsEc2NetworkInterfaceDetails withPrivateIpAddresses(Collection<AwsEc2NetworkInterfacePrivateIpAddressDetail> privateIpAddresses)
The private IPv4 addresses associated with the network interface.
privateIpAddresses
- The private IPv4 addresses associated with the network interface.public void setPublicDnsName(String publicDnsName)
The public DNS name of the network interface.
publicDnsName
- The public DNS name of the network interface.public String getPublicDnsName()
The public DNS name of the network interface.
public AwsEc2NetworkInterfaceDetails withPublicDnsName(String publicDnsName)
The public DNS name of the network interface.
publicDnsName
- The public DNS name of the network interface.public void setPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
publicIp
- The address of the Elastic IP address bound to the network interface.public String getPublicIp()
The address of the Elastic IP address bound to the network interface.
public AwsEc2NetworkInterfaceDetails withPublicIp(String publicIp)
The address of the Elastic IP address bound to the network interface.
publicIp
- The address of the Elastic IP address bound to the network interface.public String toString()
toString
in class Object
Object.toString()
public AwsEc2NetworkInterfaceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Datenschutz | Nutzungsbedingungen für die Website | Cookie-Einstellungen | © 2025, Amazon Web Services, Inc. oder Tochtergesellschaften. Alle Rechte vorbehalten.