|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VpcAttachment
public class VpcAttachment
Describes an attachment between a virtual private gateway and a VPC.
Constructor Summary | |
---|---|
VpcAttachment()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getState()
The current state of the attachment. |
java.lang.String |
getVpcId()
The ID of the VPC. |
int |
hashCode()
|
void |
setState(AttachmentStatus state)
The current state of the attachment. |
void |
setState(java.lang.String state)
The current state of the attachment. |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VpcAttachment |
withState(AttachmentStatus state)
The current state of the attachment. |
VpcAttachment |
withState(java.lang.String state)
The current state of the attachment. |
VpcAttachment |
withVpcId(java.lang.String vpcId)
The ID of the VPC. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VpcAttachment()
Method Detail |
---|
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public VpcAttachment withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.
public java.lang.String getState()
Constraints:
Allowed Values: attaching, attached, detaching, detached
AttachmentStatus
public void setState(java.lang.String state)
Constraints:
Allowed Values: attaching, attached, detaching, detached
state
- The current state of the attachment.AttachmentStatus
public VpcAttachment withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: attaching, attached, detaching, detached
state
- The current state of the attachment.
AttachmentStatus
public void setState(AttachmentStatus state)
Constraints:
Allowed Values: attaching, attached, detaching, detached
state
- The current state of the attachment.AttachmentStatus
public 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
- The current state of the attachment.
AttachmentStatus
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |