@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNetworkInterfaceAttributeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeNetworkInterfaceAttribute.
Constructor and Description |
---|
DescribeNetworkInterfaceAttributeResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNetworkInterfaceAttributeResult |
clone() |
boolean |
equals(Object obj) |
NetworkInterfaceAttachment |
getAttachment()
The attachment (if any) of the network interface.
|
String |
getDescription()
The description of the network interface.
|
List<GroupIdentifier> |
getGroups()
The security groups associated with the network interface.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
Boolean |
getSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
int |
hashCode() |
Boolean |
isSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
void |
setAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
|
void |
setDescription(String description)
The description of the network interface.
|
void |
setGroups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeNetworkInterfaceAttributeResult |
withAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withDescription(String description)
The description of the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withGroups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withGroups(GroupIdentifier... groups)
The security groups associated with the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeNetworkInterfaceAttributeResult()
public void setAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
attachment
- The attachment (if any) of the network interface.public NetworkInterfaceAttachment getAttachment()
The attachment (if any) of the network interface.
public DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
attachment
- The attachment (if any) of the network interface.public void setDescription(String description)
The description of the network interface.
description
- The description of the network interface.public String getDescription()
The description of the network interface.
public DescribeNetworkInterfaceAttributeResult withDescription(String description)
The description of the network interface.
description
- The description of the network interface.public List<GroupIdentifier> getGroups()
The security groups associated with the network interface.
public void setGroups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
groups
- The security groups associated with the network interface.public DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... groups)
The security groups associated with the network interface.
NOTE: This method appends the values to the existing list (if any). Use
setGroups(java.util.Collection)
or withGroups(java.util.Collection)
if you want to override the
existing values.
groups
- The security groups associated with the network interface.public DescribeNetworkInterfaceAttributeResult withGroups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
groups
- The security groups associated with the network interface.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public DescribeNetworkInterfaceAttributeResult withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.public Boolean getSourceDestCheck()
Indicates whether source/destination checking is enabled.
public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.public Boolean isSourceDestCheck()
Indicates whether source/destination checking is enabled.
public String toString()
toString
in class Object
Object.toString()
public DescribeNetworkInterfaceAttributeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.