public class DescribeNetworkInterfaceAttributeRequest extends 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.
|
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, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
NetworkInterfaceAttribute
public void setAttribute(java.lang.String attribute)
Constraints:
Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute
- The attribute of the network interface.NetworkInterfaceAttribute
public 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.NetworkInterfaceAttribute
public void setAttribute(NetworkInterfaceAttribute attribute)
Constraints:
Allowed Values: description, groupSet, sourceDestCheck, attachment
attribute
- The attribute of the network interface.NetworkInterfaceAttribute
public 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.NetworkInterfaceAttribute
public Request<DescribeNetworkInterfaceAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeNetworkInterfaceAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.