com.amazonaws.services.ec2.model
Class DescribeSubnetsResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeSubnetsResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeSubnetsResult
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DescribeSubnetsResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<Subnet> getSubnets()
          Information about one or more subnets.
 int hashCode()
           
 void setSubnets(java.util.Collection<Subnet> subnets)
          Information about one or more subnets.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSubnetsResult withSubnets(java.util.Collection<Subnet> subnets)
          Information about one or more subnets.
 DescribeSubnetsResult withSubnets(Subnet... subnets)
          Information about one or more subnets.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSubnetsResult

public DescribeSubnetsResult()
Method Detail

getSubnets

public java.util.List<Subnet> getSubnets()
Information about one or more subnets.

Returns:
Information about one or more subnets.

setSubnets

public void setSubnets(java.util.Collection<Subnet> subnets)
Information about one or more subnets.

Parameters:
subnets - Information about one or more subnets.

withSubnets

public DescribeSubnetsResult withSubnets(Subnet... subnets)
Information about one or more subnets.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Information about one or more subnets.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public DescribeSubnetsResult withSubnets(java.util.Collection<Subnet> subnets)
Information about one or more subnets.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Information about one or more subnets.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.