com.amazonaws.services.ec2.model
Class CreateSubnetResult

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

public class CreateSubnetResult
extends Object

Create Subnet Result


Constructor Summary
CreateSubnetResult()
           
 
Method Summary
 Subnet getSubnet()
          Returns the value of the Subnet property for this object.
 void setSubnet(Subnet subnet)
          Sets the value of the Subnet property for this object.
 CreateSubnetResult withSubnet(Subnet subnet)
          Sets the value of the Subnet property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSubnetResult

public CreateSubnetResult()
Method Detail

getSubnet

public Subnet getSubnet()
Returns the value of the Subnet property for this object.

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

setSubnet

public void setSubnet(Subnet subnet)
Sets the value of the Subnet property for this object.

Parameters:
subnet - The new value for the Subnet property for this object.

withSubnet

public CreateSubnetResult withSubnet(Subnet subnet)
Sets the value of the Subnet property for this object.

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

Parameters:
subnet - The new value for the Subnet 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.