com.amazonaws.services.ec2.model
Class DescribeSubnetsResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeSubnetsResult

public class DescribeSubnetsResult
extends Object

Describe Subnets Result


Constructor Summary
DescribeSubnetsResult()
           
 
Method Summary
 List<Subnet> getSubnets()
          Returns the value of the Subnets property for this object.
 void setSubnets(Collection<Subnet> subnets)
          Sets the value of the Subnets property for this object.
 DescribeSubnetsResult withSubnets(Collection<Subnet> subnets)
          Sets the value of the Subnets property for this object.
 DescribeSubnetsResult withSubnets(Subnet... subnets)
          Sets the value of the Subnets property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescribeSubnetsResult

public DescribeSubnetsResult()
Method Detail

getSubnets

public List<Subnet> getSubnets()
Returns the value of the Subnets property for this object.

Returns:
The value of the Subnets property for this object.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
Sets the value of the Subnets property for this object.

Parameters:
subnets - The new value for the Subnets property for this object.

withSubnets

public DescribeSubnetsResult withSubnets(Subnet... subnets)
Sets the value of the Subnets property for this object.

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

Parameters:
subnets - The new value for the Subnets property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public DescribeSubnetsResult withSubnets(Collection<Subnet> subnets)
Sets the value of the Subnets property for this object.

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

Parameters:
subnets - The new value for the Subnets property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


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