com.amazonaws.services.ec2.model
Class DescribeNetworkInterfaceAttributeResult

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

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

See Also:
Serialized Form

Constructor Summary
DescribeNetworkInterfaceAttributeResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 NetworkInterfaceAttachment getAttachment()
          The attachment (if any) of the network interface.
 java.lang.String getDescription()
          The description of the network interface.
 java.util.List<GroupIdentifier> getGroups()
          The security groups associated with the network interface.
 java.lang.String getNetworkInterfaceId()
          The ID of the network interface.
 java.lang.Boolean getSourceDestCheck()
          Indicates whether source/destination checking is enabled.
 int hashCode()
           
 java.lang.Boolean isSourceDestCheck()
          Indicates whether source/destination checking is enabled.
 void setAttachment(NetworkInterfaceAttachment attachment)
          The attachment (if any) of the network interface.
 void setDescription(java.lang.String description)
          The description of the network interface.
 void setGroups(java.util.Collection<GroupIdentifier> groups)
          The security groups associated with the network interface.
 void setNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment)
          The attachment (if any) of the network interface.
 DescribeNetworkInterfaceAttributeResult withDescription(java.lang.String description)
          The description of the network interface.
 DescribeNetworkInterfaceAttributeResult withGroups(java.util.Collection<GroupIdentifier> groups)
          The security groups associated with the network interface.
 DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... groups)
          The security groups associated with the network interface.
 DescribeNetworkInterfaceAttributeResult withNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 DescribeNetworkInterfaceAttributeResult withSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeNetworkInterfaceAttributeResult

public DescribeNetworkInterfaceAttributeResult()
Method Detail

getNetworkInterfaceId

public java.lang.String getNetworkInterfaceId()
The ID of the network interface.

Returns:
The ID of the network interface.

setNetworkInterfaceId

public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface.

Parameters:
networkInterfaceId - The ID of the network interface.

withNetworkInterfaceId

public DescribeNetworkInterfaceAttributeResult withNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface.

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

Parameters:
networkInterfaceId - The ID of the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
The description of the network interface.

Returns:
The description of the network interface.

setDescription

public void setDescription(java.lang.String description)
The description of the network interface.

Parameters:
description - The description of the network interface.

withDescription

public DescribeNetworkInterfaceAttributeResult withDescription(java.lang.String description)
The description of the network interface.

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

Parameters:
description - The description of the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

isSourceDestCheck

public java.lang.Boolean isSourceDestCheck()
Indicates whether source/destination checking is enabled.

Returns:
Indicates whether source/destination checking is enabled.

setSourceDestCheck

public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.

Parameters:
sourceDestCheck - Indicates whether source/destination checking is enabled.

withSourceDestCheck

public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(java.lang.Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.

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

Parameters:
sourceDestCheck - Indicates whether source/destination checking is enabled.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceDestCheck

public java.lang.Boolean getSourceDestCheck()
Indicates whether source/destination checking is enabled.

Returns:
Indicates whether source/destination checking is enabled.

getGroups

public java.util.List<GroupIdentifier> getGroups()
The security groups associated with the network interface.

Returns:
The security groups associated with the network interface.

setGroups

public void setGroups(java.util.Collection<GroupIdentifier> groups)
The security groups associated with the network interface.

Parameters:
groups - The security groups associated with the network interface.

withGroups

public DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... groups)
The security groups associated with the network interface.

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

Parameters:
groups - The security groups associated with the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

withGroups

public DescribeNetworkInterfaceAttributeResult withGroups(java.util.Collection<GroupIdentifier> groups)
The security groups associated with the network interface.

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

Parameters:
groups - The security groups associated with the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachment

public NetworkInterfaceAttachment getAttachment()
The attachment (if any) of the network interface.

Returns:
The attachment (if any) of the network interface.

setAttachment

public void setAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.

Parameters:
attachment - The attachment (if any) of the network interface.

withAttachment

public DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.

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

Parameters:
attachment - The attachment (if any) of the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

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.