Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class DescribeSubnetsResult

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

public class DescribeSubnetsResult
extends Object
implements Serializable

See Also:
Serialized Form

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

Constructor Detail

DescribeSubnetsResult

public DescribeSubnetsResult()
Method Detail

getSubnets

public List<Subnet> getSubnets()
Contains a set of one or more Subnet instances.

Returns:
Contains a set of one or more Subnet instances.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
Contains a set of one or more Subnet instances.

Parameters:
subnets - Contains a set of one or more Subnet instances.

withSubnets

public DescribeSubnetsResult withSubnets(Subnet... subnets)
Contains a set of one or more Subnet instances.

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

Parameters:
subnets - Contains a set of one or more Subnet instances.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public DescribeSubnetsResult withSubnets(Collection<Subnet> subnets)
Contains a set of one or more Subnet instances.

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

Parameters:
subnets - Contains a set of one or more Subnet instances.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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