public class DescribeNetworkInterfaceAttributeResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeNetworkInterfaceAttribute.
Constructor and Description |
---|
DescribeNetworkInterfaceAttributeResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
NetworkInterfaceAttachment |
getAttachment()
The attachment (if any) of the network interface.
|
java.lang.String |
getDescription()
The description of the network interface.
|
java.util.List<GroupIdentifier> |
getGroups()
The security groups associated with the network interface.
|
java.lang.String |
getNetworkInterfaceId()
The ID of the network interface.
|
java.lang.Boolean |
getSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
int |
hashCode() |
java.lang.Boolean |
isSourceDestCheck()
Indicates whether source/destination checking is enabled.
|
void |
setAttachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
|
void |
setDescription(java.lang.String description)
The description of the network interface.
|
void |
setGroups(java.util.Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
|
void |
setNetworkInterfaceId(java.lang.String networkInterfaceId)
The ID of the network interface.
|
void |
setSourceDestCheck(java.lang.Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
java.lang.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(java.lang.String description)
The description of the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withGroups(java.util.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(java.lang.String networkInterfaceId)
The ID of the network interface.
|
DescribeNetworkInterfaceAttributeResult |
withSourceDestCheck(java.lang.Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
|
public DescribeNetworkInterfaceAttributeResult()
public java.lang.String getNetworkInterfaceId()
public void setNetworkInterfaceId(java.lang.String networkInterfaceId)
networkInterfaceId
- The ID of the network interface.public DescribeNetworkInterfaceAttributeResult 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 getDescription()
public void setDescription(java.lang.String description)
description
- The description of the network interface.public DescribeNetworkInterfaceAttributeResult withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the network interface.public java.lang.Boolean isSourceDestCheck()
public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
sourceDestCheck
- Indicates whether source/destination checking is enabled.public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(java.lang.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 java.lang.Boolean getSourceDestCheck()
public java.util.List<GroupIdentifier> getGroups()
public void setGroups(java.util.Collection<GroupIdentifier> groups)
groups
- The security groups associated with the network interface.public DescribeNetworkInterfaceAttributeResult withGroups(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 DescribeNetworkInterfaceAttributeResult withGroups(java.util.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 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.