com.amazonaws.services.ec2.model
Class ResetNetworkInterfaceAttributeRequest

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

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

Container for the parameters to the ResetNetworkInterfaceAttribute operation.

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

See Also:
AmazonEC2.resetNetworkInterfaceAttribute(ResetNetworkInterfaceAttributeRequest), Serialized Form

Constructor Summary
ResetNetworkInterfaceAttributeRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Request<ResetNetworkInterfaceAttributeRequest> getDryRunRequest()
          This method is intended for internal use only.
 java.lang.String getNetworkInterfaceId()
          The ID of the network interface.
 java.lang.String getSourceDestCheck()
          Indicates whether source/destination checking is enabled.
 int hashCode()
           
 void setNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 void setSourceDestCheck(java.lang.String sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ResetNetworkInterfaceAttributeRequest withNetworkInterfaceId(java.lang.String networkInterfaceId)
          The ID of the network interface.
 ResetNetworkInterfaceAttributeRequest withSourceDestCheck(java.lang.String sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 
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

ResetNetworkInterfaceAttributeRequest

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

getSourceDestCheck

public java.lang.String getSourceDestCheck()
Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.

Returns:
Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.

setSourceDestCheck

public void setSourceDestCheck(java.lang.String sourceDestCheck)
Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.

Parameters:
sourceDestCheck - Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.

withSourceDestCheck

public ResetNetworkInterfaceAttributeRequest withSourceDestCheck(java.lang.String sourceDestCheck)
Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.

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

Parameters:
sourceDestCheck - Indicates whether source/destination checking is enabled. A value of true means checking is enabled, and false means checking is disabled. This value must be false for a NAT instance to perform NAT.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<ResetNetworkInterfaceAttributeRequest> 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<ResetNetworkInterfaceAttributeRequest>

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.