public class DescribeNetworkInterfaceAttributeResult extends Object implements Serializable, Cloneable
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.
|
public DescribeNetworkInterfaceAttributeResult()
public String getNetworkInterfaceId()
public void setNetworkInterfaceId(String networkInterfaceId)
networkInterfaceId
- The ID of the network interface.public DescribeNetworkInterfaceAttributeResult 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 getDescription()
public void setDescription(String description)
description
- The description of the network interface.public DescribeNetworkInterfaceAttributeResult withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the network interface.public Boolean isSourceDestCheck()
public void setSourceDestCheck(Boolean sourceDestCheck)
sourceDestCheck
- Indicates whether source/destination checking is enabled.public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(Boolean sourceDestCheck)
Returns a reference to this object so that method calls can be chained together.
sourceDestCheck
- Indicates whether source/destination checking is enabled.public Boolean getSourceDestCheck()
public List<GroupIdentifier> getGroups()
public void setGroups(Collection<GroupIdentifier> groups)
groups
- The security groups associated with the network interface.public DescribeNetworkInterfaceAttributeResult withGroups(GroupIdentifier... groups)
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.
Returns a reference to this object so that method calls can be chained together.
groups
- The security groups associated with the network interface.public DescribeNetworkInterfaceAttributeResult withGroups(Collection<GroupIdentifier> groups)
Returns a reference to this object so that method calls can be chained together.
groups
- The security groups associated with the network interface.public NetworkInterfaceAttachment getAttachment()
public void setAttachment(NetworkInterfaceAttachment attachment)
attachment
- The attachment (if any) of the network interface.public DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment)
Returns a reference to this object so that method calls can be chained together.
attachment
- The attachment (if any) of the network interface.public String toString()
toString
in class Object
Object.toString()
public DescribeNetworkInterfaceAttributeResult clone()
Copyright © 2015. All rights reserved.