@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssignPrivateIpAddressesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssignPrivateIpAddressesResult() |
Modifier and Type | Method and Description |
---|---|
AssignPrivateIpAddressesResult |
clone() |
boolean |
equals(Object obj) |
List<Ipv4PrefixSpecification> |
getAssignedIpv4Prefixes()
The IPv4 prefixes that are assigned to the network interface.
|
List<AssignedPrivateIpAddress> |
getAssignedPrivateIpAddresses()
The private IP addresses assigned to the network interface.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
int |
hashCode() |
void |
setAssignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
void |
setAssignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
String |
toString()
Returns a string representation of this object.
|
AssignPrivateIpAddressesResult |
withAssignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
AssignPrivateIpAddressesResult |
withAssignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
|
AssignPrivateIpAddressesResult |
withAssignedPrivateIpAddresses(AssignedPrivateIpAddress... assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
|
AssignPrivateIpAddressesResult |
withAssignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
|
AssignPrivateIpAddressesResult |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 AssignPrivateIpAddressesResult withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public List<AssignedPrivateIpAddress> getAssignedPrivateIpAddresses()
The private IP addresses assigned to the network interface.
public void setAssignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
assignedPrivateIpAddresses
- The private IP addresses assigned to the network interface.public AssignPrivateIpAddressesResult withAssignedPrivateIpAddresses(AssignedPrivateIpAddress... assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setAssignedPrivateIpAddresses(java.util.Collection)
or
withAssignedPrivateIpAddresses(java.util.Collection)
if you want to override the existing values.
assignedPrivateIpAddresses
- The private IP addresses assigned to the network interface.public AssignPrivateIpAddressesResult withAssignedPrivateIpAddresses(Collection<AssignedPrivateIpAddress> assignedPrivateIpAddresses)
The private IP addresses assigned to the network interface.
assignedPrivateIpAddresses
- The private IP addresses assigned to the network interface.public List<Ipv4PrefixSpecification> getAssignedIpv4Prefixes()
The IPv4 prefixes that are assigned to the network interface.
public void setAssignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
assignedIpv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public AssignPrivateIpAddressesResult withAssignedIpv4Prefixes(Ipv4PrefixSpecification... assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setAssignedIpv4Prefixes(java.util.Collection)
or withAssignedIpv4Prefixes(java.util.Collection)
if you want to override the existing values.
assignedIpv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public AssignPrivateIpAddressesResult withAssignedIpv4Prefixes(Collection<Ipv4PrefixSpecification> assignedIpv4Prefixes)
The IPv4 prefixes that are assigned to the network interface.
assignedIpv4Prefixes
- The IPv4 prefixes that are assigned to the network interface.public String toString()
toString
in class Object
Object.toString()
public AssignPrivateIpAddressesResult clone()
Copyright © 2024. All rights reserved.