public class DescribeNetworkInterfaceAttributeRequest extends com.amazonaws.AmazonWebServiceRequest implements java.io.Serializable, DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>
DescribeNetworkInterfaceAttribute operation.
 Describes a network interface attribute. You can specify only one attribute at a time.
| Constructor and Description | 
|---|
| DescribeNetworkInterfaceAttributeRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getAttribute()The attribute of the network interface. | 
| com.amazonaws.Request<DescribeNetworkInterfaceAttributeRequest> | getDryRunRequest()This method is intended for internal use only. | 
| java.lang.String | getNetworkInterfaceId()The ID of the network interface. | 
| int | hashCode() | 
| void | setAttribute(NetworkInterfaceAttribute attribute)The attribute of the network interface. | 
| void | setAttribute(java.lang.String attribute)The attribute of the network interface. | 
| void | setNetworkInterfaceId(java.lang.String networkInterfaceId)The ID of the network interface. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| DescribeNetworkInterfaceAttributeRequest | withAttribute(NetworkInterfaceAttribute attribute)The attribute of the network interface. | 
| DescribeNetworkInterfaceAttributeRequest | withAttribute(java.lang.String attribute)The attribute of the network interface. | 
| DescribeNetworkInterfaceAttributeRequest | withNetworkInterfaceId(java.lang.String networkInterfaceId)The ID of the network interface. | 
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeNetworkInterfaceAttributeRequest()
public java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId - The ID of the network interface.public DescribeNetworkInterfaceAttributeRequest 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 getAttribute()
 Constraints:
 Allowed Values: description, groupSet, sourceDestCheck, attachment
NetworkInterfaceAttributepublic void setAttribute(java.lang.String attribute)
 Constraints:
 Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute - The attribute of the network interface.NetworkInterfaceAttributepublic DescribeNetworkInterfaceAttributeRequest withAttribute(java.lang.String attribute)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute - The attribute of the network interface.NetworkInterfaceAttributepublic void setAttribute(NetworkInterfaceAttribute attribute)
 Constraints:
 Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute - The attribute of the network interface.NetworkInterfaceAttributepublic DescribeNetworkInterfaceAttributeRequest withAttribute(NetworkInterfaceAttribute attribute)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute - The attribute of the network interface.NetworkInterfaceAttributepublic com.amazonaws.Request<DescribeNetworkInterfaceAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>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