Class DescribeNetworkInterfaceAttributeResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeNetworkInterfaceAttribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The attachment (if any) of the network interface.The description of the network interface.The security groups associated with the network interface.The ID of the network interface.Indicates whether source/destination checking is enabled.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachment
(NetworkInterfaceAttachment attachment) The attachment (if any) of the network interface.withDescription
(String description) The description of the network interface.withGroups
(GroupIdentifier... groups) The security groups associated with the network interface.withGroups
(Collection<GroupIdentifier> groups) The security groups associated with the network interface.withNetworkInterfaceId
(String networkInterfaceId) The ID of the network interface.withSourceDestCheck
(Boolean sourceDestCheck) Indicates whether source/destination checking is enabled.
-
Constructor Details
-
DescribeNetworkInterfaceAttributeResult
public DescribeNetworkInterfaceAttributeResult()
-
-
Method Details
-
setNetworkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId
- The ID of the network interface.
-
getNetworkInterfaceId
The ID of the network interface.
- Returns:
- The ID of the network interface.
-
withNetworkInterfaceId
The ID of the network interface.
- Parameters:
networkInterfaceId
- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the network interface.
- Parameters:
description
- The description of the network interface.
-
getDescription
The description of the network interface.
- Returns:
- The description of the network interface.
-
withDescription
The description of the network interface.
- Parameters:
description
- The description of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSourceDestCheck
Indicates whether source/destination checking is enabled.
- Parameters:
sourceDestCheck
- Indicates whether source/destination checking is enabled.
-
getSourceDestCheck
Indicates whether source/destination checking is enabled.
- Returns:
- Indicates whether source/destination checking is enabled.
-
withSourceDestCheck
Indicates whether source/destination checking is enabled.
- Parameters:
sourceDestCheck
- Indicates whether source/destination checking is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isSourceDestCheck
Indicates whether source/destination checking is enabled.
- Returns:
- Indicates whether source/destination checking is enabled.
-
getGroups
The security groups associated with the network interface.
- Returns:
- The security groups associated with the network interface.
-
setGroups
The security groups associated with the network interface.
- Parameters:
groups
- The security groups associated with the network interface.
-
withGroups
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)
orwithGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
groups
- The security groups associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGroups
The security groups associated with the network interface.
- Parameters:
groups
- The security groups associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAttachment
The attachment (if any) of the network interface.
- Parameters:
attachment
- The attachment (if any) of the network interface.
-
getAttachment
The attachment (if any) of the network interface.
- Returns:
- The attachment (if any) of the network interface.
-
withAttachment
public DescribeNetworkInterfaceAttributeResult withAttachment(NetworkInterfaceAttachment attachment) The attachment (if any) of the network interface.
- Parameters:
attachment
- The attachment (if any) of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-