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>, Serializable

public class ResetNetworkInterfaceAttributeRequest
extends AmazonWebServiceRequest
implements 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(Object obj)
           
 Request<ResetNetworkInterfaceAttributeRequest> getDryRunRequest()
          This method is intended for internal use only.
 String getNetworkInterfaceId()
          The ID of the network interface.
 String getSourceDestCheck()
          Indicates whether source/destination checking is enabled.
 int hashCode()
           
 void setNetworkInterfaceId(String networkInterfaceId)
          The ID of the network interface.
 void setSourceDestCheck(String sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ResetNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId)
          The ID of the network interface.
 ResetNetworkInterfaceAttributeRequest withSourceDestCheck(String sourceDestCheck)
          Indicates whether source/destination checking is enabled.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResetNetworkInterfaceAttributeRequest

public ResetNetworkInterfaceAttributeRequest()
Method Detail

getNetworkInterfaceId

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

Returns:
The ID of the network interface.

setNetworkInterfaceId

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

Parameters:
networkInterfaceId - The ID of the network interface.

withNetworkInterfaceId

public ResetNetworkInterfaceAttributeRequest withNetworkInterfaceId(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 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(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(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 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 © 2016. All rights reserved.