com.amazonaws.services.ec2.model
Class DescribeNetworkInterfaceAttributeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DescribeNetworkInterfaceAttributeRequest
All Implemented Interfaces:
DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>, java.io.Serializable

public class DescribeNetworkInterfaceAttributeRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>

Container for the parameters to the DescribeNetworkInterfaceAttribute operation.

Describes a network interface attribute. You can specify only one attribute at a time.

See Also:
AmazonEC2.describeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest), Serialized Form

Constructor Summary
DescribeNetworkInterfaceAttributeRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAttachment()
          The attachment attribute.
 java.lang.String getDescription()
          The description attribute.
 Request<DescribeNetworkInterfaceAttributeRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getGroups()
          The groupSet attribute.
 java.lang.String getNetworkInterfaceId()
          The ID of the network interface.
 java.lang.String getSourceDestCheck()
          The sourceDestCheck attribute.
 int hashCode()
           
 void setAttachment(java.lang.String attachment)
          The attachment attribute.
 void setDescription(java.lang.String description)
          The description attribute.
 void setGroups(java.lang.String groups)
          The groupSet attribute.
 void setNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 void setSourceDestCheck(java.lang.String sourceDestCheck)
          The sourceDestCheck attribute.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeNetworkInterfaceAttributeRequest withAttachment(java.lang.String attachment)
          The attachment attribute.
 DescribeNetworkInterfaceAttributeRequest withDescription(java.lang.String description)
          The description attribute.
 DescribeNetworkInterfaceAttributeRequest withGroups(java.lang.String groups)
          The groupSet attribute.
 DescribeNetworkInterfaceAttributeRequest withNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 DescribeNetworkInterfaceAttributeRequest withSourceDestCheck(java.lang.String sourceDestCheck)
          The sourceDestCheck attribute.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeNetworkInterfaceAttributeRequest

public DescribeNetworkInterfaceAttributeRequest()
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 DescribeNetworkInterfaceAttributeRequest 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 attribute.

Returns:
The description attribute.

setDescription

public void setDescription(java.lang.String description)
The description attribute.

Parameters:
description - The description attribute.

withDescription

public DescribeNetworkInterfaceAttributeRequest withDescription(java.lang.String description)
The description attribute.

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

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

getSourceDestCheck

public java.lang.String getSourceDestCheck()
The sourceDestCheck attribute.

Returns:
The sourceDestCheck attribute.

setSourceDestCheck

public void setSourceDestCheck(java.lang.String sourceDestCheck)
The sourceDestCheck attribute.

Parameters:
sourceDestCheck - The sourceDestCheck attribute.

withSourceDestCheck

public DescribeNetworkInterfaceAttributeRequest withSourceDestCheck(java.lang.String sourceDestCheck)
The sourceDestCheck attribute.

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

Parameters:
sourceDestCheck - The sourceDestCheck attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getGroups

public java.lang.String getGroups()
The groupSet attribute.

Returns:
The groupSet attribute.

setGroups

public void setGroups(java.lang.String groups)
The groupSet attribute.

Parameters:
groups - The groupSet attribute.

withGroups

public DescribeNetworkInterfaceAttributeRequest withGroups(java.lang.String groups)
The groupSet attribute.

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

Parameters:
groups - The groupSet attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttachment

public java.lang.String getAttachment()
The attachment attribute.

Returns:
The attachment attribute.

setAttachment

public void setAttachment(java.lang.String attachment)
The attachment attribute.

Parameters:
attachment - The attachment attribute.

withAttachment

public DescribeNetworkInterfaceAttributeRequest withAttachment(java.lang.String attachment)
The attachment attribute.

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

Parameters:
attachment - The attachment attribute.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DescribeNetworkInterfaceAttributeRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>

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.