public class VpcAttachment extends Object implements Serializable
| Constructor and Description |
|---|
VpcAttachment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getState()
Constraints:
Allowed Values: attaching, attached, detaching, detached |
String |
getVpcId() |
int |
hashCode() |
void |
setState(AttachmentStatus state)
Constraints:
Allowed Values: attaching, attached, detaching, detached |
void |
setState(String state)
Constraints:
Allowed Values: attaching, attached, detaching, detached |
void |
setVpcId(String vpcId) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcAttachment |
withState(AttachmentStatus state)
Returns a reference to this object so that method calls can be chained together.
|
VpcAttachment |
withState(String state)
Returns a reference to this object so that method calls can be chained together.
|
VpcAttachment |
withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId - public VpcAttachment withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - public String getState()
Constraints:
Allowed Values: attaching, attached, detaching, detached
AttachmentStatuspublic void setState(String state)
Constraints:
Allowed Values: attaching, attached, detaching, detached
state - AttachmentStatuspublic VpcAttachment withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: attaching, attached, detaching, detached
state - AttachmentStatuspublic void setState(AttachmentStatus state)
Constraints:
Allowed Values: attaching, attached, detaching, detached
state - AttachmentStatuspublic VpcAttachment withState(AttachmentStatus state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: attaching, attached, detaching, detached
state - AttachmentStatuspublic String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.