com.amazonaws.services.ec2.model
Class VpcAttachment

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

public class VpcAttachment
extends Object

Vpc Attachment


Constructor Summary
VpcAttachment()
           
 
Method Summary
 String getState()
          Returns the value of the State property for this object.
 String getVpcId()
          Returns the value of the VpcId property for this object.
 void setState(String state)
          Sets the value of the State property for this object.
 void setVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 VpcAttachment withState(String state)
          Sets the value of the State property for this object.
 VpcAttachment withVpcId(String vpcId)
          Sets the value of the VpcId property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VpcAttachment

public VpcAttachment()
Method Detail

getVpcId

public String getVpcId()
Returns the value of the VpcId property for this object.

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

setVpcId

public void setVpcId(String vpcId)
Sets the value of the VpcId property for this object.

Parameters:
vpcId - The new value for the VpcId property for this object.

withVpcId

public VpcAttachment withVpcId(String vpcId)
Sets the value of the VpcId property for this object.

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

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

getState

public String getState()
Returns the value of the State property for this object.

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

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public VpcAttachment withState(String state)
Sets the value of the State property for this object.

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

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