Package com.amazonaws.services.ec2.model
Class VpcClassicLink
java.lang.Object
com.amazonaws.services.ec2.model.VpcClassicLink
- All Implemented Interfaces:
Serializable
,Cloneable
Describes whether a VPC is enabled for ClassicLink.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether the VPC is enabled for ClassicLink.getTags()
Any tags assigned to the VPC.getVpcId()
The ID of the VPC.int
hashCode()
Indicates whether the VPC is enabled for ClassicLink.void
setClassicLinkEnabled
(Boolean classicLinkEnabled) Indicates whether the VPC is enabled for ClassicLink.void
setTags
(Collection<Tag> tags) Any tags assigned to the VPC.void
The ID of the VPC.toString()
Returns a string representation of this object; useful for testing and debugging.withClassicLinkEnabled
(Boolean classicLinkEnabled) Indicates whether the VPC is enabled for ClassicLink.Any tags assigned to the VPC.withTags
(Collection<Tag> tags) Any tags assigned to the VPC.The ID of the VPC.
-
Constructor Details
-
VpcClassicLink
public VpcClassicLink()
-
-
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.
-
setClassicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
- Parameters:
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.
-
getClassicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
- Returns:
- Indicates whether the VPC is enabled for ClassicLink.
-
withClassicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
- Parameters:
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isClassicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
- Returns:
- Indicates whether the VPC is enabled for ClassicLink.
-
getTags
Any tags assigned to the VPC.
- Returns:
- Any tags assigned to the VPC.
-
setTags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.
-
withTags
Any tags assigned to the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-