Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class InstanceNetworkInterfaceSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceNetworkInterfaceSpecification
All Implemented Interfaces:
java.io.Serializable

public class InstanceNetworkInterfaceSpecification
extends java.lang.Object
implements java.io.Serializable

Instance Network Interface Specification

See Also:
Serialized Form

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

getDeviceIndex

public java.lang.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(java.lang.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(java.lang.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.

getSubnetId

public java.lang.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(java.lang.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(java.lang.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.

getDescription

public java.lang.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(java.lang.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(java.lang.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.

getPrivateIpAddress

public java.lang.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(java.lang.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(java.lang.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.

getGroups

public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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.

withGroups

public InstanceNetworkInterfaceSpecification withGroups(java.util.Collection<java.lang.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.

isDeleteOnTermination

public java.lang.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(java.lang.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(java.lang.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.

getDeleteOnTermination

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

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

getPrivateIpAddresses

public java.util.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(java.util.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.

withPrivateIpAddresses

public InstanceNetworkInterfaceSpecification withPrivateIpAddresses(java.util.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.

getSecondaryPrivateIpAddressCount

public java.lang.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(java.lang.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(java.lang.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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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