Class DescribeVpcsResult

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

public class DescribeVpcsResult extends Object implements Serializable, Cloneable

Contains the output of DescribeVpcs.

See Also:
  • Constructor Details

    • DescribeVpcsResult

      public DescribeVpcsResult()
  • Method Details

    • getVpcs

      public List<Vpc> getVpcs()

      Information about one or more VPCs.

      Returns:
      Information about one or more VPCs.
    • setVpcs

      public void setVpcs(Collection<Vpc> vpcs)

      Information about one or more VPCs.

      Parameters:
      vpcs - Information about one or more VPCs.
    • withVpcs

      public DescribeVpcsResult withVpcs(Vpc... vpcs)

      Information about 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 - Information about one or more VPCs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withVpcs

      public DescribeVpcsResult withVpcs(Collection<Vpc> vpcs)

      Information about one or more VPCs.

      Parameters:
      vpcs - Information about 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

      public DescribeVpcsResult clone()
      Overrides:
      clone in class Object