public class DescribeNetworkInterfaceAttributeRequest extends AmazonWebServiceRequest implements 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(Object obj) |
String |
getAttribute()
The attribute of the network interface.
|
Request<DescribeNetworkInterfaceAttributeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
int |
hashCode() |
void |
setAttribute(NetworkInterfaceAttribute attribute)
The attribute of the network interface.
|
void |
setAttribute(String attribute)
The attribute of the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
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(String attribute)
The attribute of the network interface.
|
DescribeNetworkInterfaceAttributeRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic DescribeNetworkInterfaceAttributeRequest()
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId - The ID of the network interface.public DescribeNetworkInterfaceAttributeRequest withNetworkInterfaceId(String networkInterfaceId)
Returns a reference to this object so that method calls can be chained together.
networkInterfaceId - The ID of the network interface.public String getAttribute()
Constraints:
Allowed Values: description, groupSet, sourceDestCheck, attachment
NetworkInterfaceAttributepublic void setAttribute(String attribute)
Constraints:
Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute - The attribute of the network interface.NetworkInterfaceAttributepublic DescribeNetworkInterfaceAttributeRequest withAttribute(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 Request<DescribeNetworkInterfaceAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.