Package com.amazonaws.services.ec2.model
Class VpcAttachment
java.lang.Object
com.amazonaws.services.ec2.model.VpcAttachment
- All Implemented Interfaces:
Serializable,Cloneable
Describes an attachment between a virtual private gateway and a VPC.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetState()The current state of the attachment.getVpcId()The ID of the VPC.inthashCode()voidsetState(AttachmentStatus state) The current state of the attachment.voidThe current state of the attachment.voidThe ID of the VPC.toString()Returns a string representation of this object; useful for testing and debugging.withState(AttachmentStatus state) The current state of the attachment.The current state of the attachment.The ID of the VPC.
-
Constructor Details
-
VpcAttachment
public VpcAttachment()
-
-
Method Details
-
setVpcId
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.
-
getVpcId
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
The ID of the VPC.
- Parameters:
vpcId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The current state of the attachment.
- Parameters:
state- The current state of the attachment.- See Also:
-
getState
The current state of the attachment.
- Returns:
- The current state of the attachment.
- See Also:
-
withState
The current state of the attachment.
- Parameters:
state- The current state of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The current state of the attachment.
- Parameters:
state- The current state of the attachment.- See Also:
-
withState
The current state of the attachment.
- Parameters:
state- The current state of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-