public class ResetNetworkInterfaceAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<ResetNetworkInterfaceAttributeRequest>
ResetNetworkInterfaceAttribute operation.
Resets a network interface attribute. You can specify only one attribute at a time.
| Constructor and Description |
|---|
ResetNetworkInterfaceAttributeRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic ResetNetworkInterfaceAttributeRequest()
public java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId - The ID of the network interface.public ResetNetworkInterfaceAttributeRequest withNetworkInterfaceId(java.lang.String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId - The ID of the network interface.public java.lang.String getSourceDestCheck()
true means checking is enabled, and false
means checking is disabled. This value must be false for
a NAT instance to perform NAT.true means checking is enabled, and false
means checking is disabled. This value must be false for
a NAT instance to perform NAT.public void setSourceDestCheck(java.lang.String sourceDestCheck)
true means checking is enabled, and false
means checking is disabled. This value must be false for
a NAT instance to perform NAT.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.public ResetNetworkInterfaceAttributeRequest withSourceDestCheck(java.lang.String sourceDestCheck)
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.
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.public Request<ResetNetworkInterfaceAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ResetNetworkInterfaceAttributeRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object