Class InternetGatewayAttachment
java.lang.Object
com.amazonaws.services.ec2.model.InternetGatewayAttachment
- All Implemented Interfaces:
Serializable, Cloneable
Describes the attachment of a VPC to an Internet gateway.
- 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
-
InternetGatewayAttachment
public InternetGatewayAttachment()
-
-
Method Details
-
setVpcId
-
getVpcId
-
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
-
equals
-
hashCode
-
clone
-