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()
          Information about one or more subnets.
 int hashCode()
           
 void setSubnets(Collection<Subnet> subnets)
          Information about one or more subnets.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeSubnetsResult withSubnets(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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeSubnetsResult

public DescribeSubnetsResult()
Method Detail

getSubnets

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

Returns:
Information about one or more subnets.

setSubnets

public void setSubnets(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(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 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 © 2016. All rights reserved.