Class DescribeVpcClassicLinkResult

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

public class DescribeVpcClassicLinkResult extends Object implements Serializable, Cloneable

Contains the output of DescribeVpcClassicLink.

See Also:
  • Constructor Details

    • DescribeVpcClassicLinkResult

      public DescribeVpcClassicLinkResult()
  • Method Details

    • getVpcs

      public List<VpcClassicLink> getVpcs()

      The ClassicLink status of one or more VPCs.

      Returns:
      The ClassicLink status of one or more VPCs.
    • setVpcs

      public void setVpcs(Collection<VpcClassicLink> vpcs)

      The ClassicLink status of one or more VPCs.

      Parameters:
      vpcs - The ClassicLink status of one or more VPCs.
    • withVpcs

      public DescribeVpcClassicLinkResult withVpcs(VpcClassicLink... vpcs)

      The ClassicLink status of one or more VPCs.

      NOTE: This method appends the values to the existing list (if any). Use setVpcs(java.util.Collection) or withVpcs(java.util.Collection) if you want to override the existing values.

      Parameters:
      vpcs - The ClassicLink status of one or more VPCs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withVpcs

      The ClassicLink status of one or more VPCs.

      Parameters:
      vpcs - The ClassicLink status of one or more VPCs.
      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