Class DescribeNetworkInterfaceAttributeResult

java.lang.Object
com.amazonaws.services.ec2.model.DescribeNetworkInterfaceAttributeResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeNetworkInterfaceAttributeResult extends Object implements Serializable, Cloneable

Contains the output of DescribeNetworkInterfaceAttribute.

See Also:
  • Constructor Details

    • DescribeNetworkInterfaceAttributeResult

      public DescribeNetworkInterfaceAttributeResult()
  • Method Details

    • setNetworkInterfaceId

      public void setNetworkInterfaceId(String networkInterfaceId)

      The ID of the network interface.

      Parameters:
      networkInterfaceId - The ID of the network interface.
    • getNetworkInterfaceId

      public String getNetworkInterfaceId()

      The ID of the network interface.

      Returns:
      The ID of the network interface.
    • withNetworkInterfaceId

      public DescribeNetworkInterfaceAttributeResult withNetworkInterfaceId(String networkInterfaceId)

      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

      public void setDescription(String description)

      The description of the network interface.

      Parameters:
      description - The description of the network interface.
    • getDescription

      public String getDescription()

      The description of the network interface.

      Returns:
      The description of the network interface.
    • withDescription

      public DescribeNetworkInterfaceAttributeResult withDescription(String description)

      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

      public void setSourceDestCheck(Boolean sourceDestCheck)

      Indicates whether source/destination checking is enabled.

      Parameters:
      sourceDestCheck - Indicates whether source/destination checking is enabled.
    • getSourceDestCheck

      public Boolean getSourceDestCheck()

      Indicates whether source/destination checking is enabled.

      Returns:
      Indicates whether source/destination checking is enabled.
    • withSourceDestCheck

      public DescribeNetworkInterfaceAttributeResult withSourceDestCheck(Boolean sourceDestCheck)

      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

      public Boolean isSourceDestCheck()

      Indicates whether source/destination checking is enabled.

      Returns:
      Indicates whether source/destination checking is enabled.
    • getGroups

      public List<GroupIdentifier> getGroups()

      The security groups associated with the network interface.

      Returns:
      The security groups associated with the network interface.
    • setGroups

      public void setGroups(Collection<GroupIdentifier> groups)

      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) or withGroups(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

      public void setAttachment(NetworkInterfaceAttachment attachment)

      The attachment (if any) of the network interface.

      Parameters:
      attachment - The attachment (if any) of the network interface.
    • getAttachment

      public NetworkInterfaceAttachment getAttachment()

      The attachment (if any) of the network interface.

      Returns:
      The attachment (if any) of the network interface.
    • withAttachment

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object