com.amazonaws.services.ec2.model
Class InstanceNetworkInterfaceSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceNetworkInterfaceSpecification

public class InstanceNetworkInterfaceSpecification
extends Object

Instance Network Interface Specification


Constructor Summary
InstanceNetworkInterfaceSpecification()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getDeleteOnTermination()
          Returns the value of the DeleteOnTermination property for this object.
 String getDescription()
          Returns the value of the Description property for this object.
 Integer getDeviceIndex()
          Returns the value of the DeviceIndex property for this object.
 List<String> getGroups()
          Returns the value of the Groups property for this object.
 String getNetworkInterfaceId()
          Returns the value of the NetworkInterfaceId property for this object.
 String getPrivateIpAddress()
          Returns the value of the PrivateIpAddress property for this object.
 List<PrivateIpAddressSpecification> getPrivateIpAddresses()
          Returns the value of the PrivateIpAddresses property for this object.
 Integer getSecondaryPrivateIpAddressCount()
          Returns the value of the SecondaryPrivateIpAddressCount property for this object.
 String getSubnetId()
          Returns the value of the SubnetId property for this object.
 int hashCode()
           
 Boolean isDeleteOnTermination()
          Returns the value of the DeleteOnTermination property for this object.
 void setDeleteOnTermination(Boolean deleteOnTermination)
          Sets the value of the DeleteOnTermination property for this object.
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 void setGroups(Collection<String> groups)
          Sets the value of the Groups property for this object.
 void setNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 void setPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 void setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
          Sets the value of the PrivateIpAddresses property for this object.
 void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
          Sets the value of the SecondaryPrivateIpAddressCount property for this object.
 void setSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 InstanceNetworkInterfaceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
          Sets the value of the DeleteOnTermination property for this object.
 InstanceNetworkInterfaceSpecification withDescription(String description)
          Sets the value of the Description property for this object.
 InstanceNetworkInterfaceSpecification withDeviceIndex(Integer deviceIndex)
          Sets the value of the DeviceIndex property for this object.
 InstanceNetworkInterfaceSpecification withGroups(Collection<String> groups)
          Sets the value of the Groups property for this object.
 InstanceNetworkInterfaceSpecification withGroups(String... groups)
          Sets the value of the Groups property for this object.
 InstanceNetworkInterfaceSpecification withNetworkInterfaceId(String networkInterfaceId)
          Sets the value of the NetworkInterfaceId property for this object.
 InstanceNetworkInterfaceSpecification withPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 InstanceNetworkInterfaceSpecification withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
          Sets the value of the PrivateIpAddresses property for this object.
 InstanceNetworkInterfaceSpecification withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
          Sets the value of the PrivateIpAddresses property for this object.
 InstanceNetworkInterfaceSpecification withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
          Sets the value of the SecondaryPrivateIpAddressCount property for this object.
 InstanceNetworkInterfaceSpecification withSubnetId(String subnetId)
          Sets the value of the SubnetId property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceNetworkInterfaceSpecification

public InstanceNetworkInterfaceSpecification()
Method Detail

getNetworkInterfaceId

public String getNetworkInterfaceId()
Returns the value of the NetworkInterfaceId property for this object.

Returns:
The value of the NetworkInterfaceId property for this object.

setNetworkInterfaceId

public void setNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.

withNetworkInterfaceId

public InstanceNetworkInterfaceSpecification withNetworkInterfaceId(String networkInterfaceId)
Sets the value of the NetworkInterfaceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaceId - The new value for the NetworkInterfaceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeviceIndex

public Integer getDeviceIndex()
Returns the value of the DeviceIndex property for this object.

Returns:
The value of the DeviceIndex property for this object.

setDeviceIndex

public void setDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.

withDeviceIndex

public InstanceNetworkInterfaceSpecification withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deviceIndex - The new value for the DeviceIndex property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetId

public String getSubnetId()
Returns the value of the SubnetId property for this object.

Returns:
The value of the SubnetId property for this object.

setSubnetId

public void setSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

Parameters:
subnetId - The new value for the SubnetId property for this object.

withSubnetId

public InstanceNetworkInterfaceSpecification withSubnetId(String subnetId)
Sets the value of the SubnetId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetId - The new value for the SubnetId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public InstanceNetworkInterfaceSpecification withDescription(String description)
Sets the value of the Description property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateIpAddress

public String getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.

Returns:
The value of the PrivateIpAddress property for this object.

setPrivateIpAddress

public void setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.

withPrivateIpAddress

public InstanceNetworkInterfaceSpecification withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getGroups

public List<String> getGroups()
Returns the value of the Groups property for this object.

Returns:
The value of the Groups property for this object.

setGroups

public void setGroups(Collection<String> groups)
Sets the value of the Groups property for this object.

Parameters:
groups - The new value for the Groups property for this object.

withGroups

public InstanceNetworkInterfaceSpecification withGroups(String... groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroups

public InstanceNetworkInterfaceSpecification withGroups(Collection<String> groups)
Sets the value of the Groups property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
groups - The new value for the Groups property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteOnTermination

public Boolean isDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.

Returns:
The value of the DeleteOnTermination property for this object.

setDeleteOnTermination

public void setDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.

Parameters:
deleteOnTermination - The new value for the DeleteOnTermination property for this object.

withDeleteOnTermination

public InstanceNetworkInterfaceSpecification withDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteOnTermination - The new value for the DeleteOnTermination property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteOnTermination

public Boolean getDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.

Returns:
The value of the DeleteOnTermination property for this object.

getPrivateIpAddresses

public List<PrivateIpAddressSpecification> getPrivateIpAddresses()
Returns the value of the PrivateIpAddresses property for this object.

Returns:
The value of the PrivateIpAddresses property for this object.

setPrivateIpAddresses

public void setPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.

withPrivateIpAddresses

public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(PrivateIpAddressSpecification... privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withPrivateIpAddresses

public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(Collection<PrivateIpAddressSpecification> privateIpAddresses)
Sets the value of the PrivateIpAddresses property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddresses - The new value for the PrivateIpAddresses property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getSecondaryPrivateIpAddressCount

public Integer getSecondaryPrivateIpAddressCount()
Returns the value of the SecondaryPrivateIpAddressCount property for this object.

Returns:
The value of the SecondaryPrivateIpAddressCount property for this object.

setSecondaryPrivateIpAddressCount

public void setSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object.

Parameters:
secondaryPrivateIpAddressCount - The new value for the SecondaryPrivateIpAddressCount property for this object.

withSecondaryPrivateIpAddressCount

public InstanceNetworkInterfaceSpecification withSecondaryPrivateIpAddressCount(Integer secondaryPrivateIpAddressCount)
Sets the value of the SecondaryPrivateIpAddressCount property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
secondaryPrivateIpAddressCount - The new value for the SecondaryPrivateIpAddressCount property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.