Package com.amazonaws.services.ec2.model
Class VpcClassicLink
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VpcClassicLink
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VpcClassicLink extends Object implements Serializable, Cloneable
Describes whether a VPC is enabled for ClassicLink.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VpcClassicLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpcClassicLink
clone()
boolean
equals(Object obj)
Boolean
getClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.List<Tag>
getTags()
Any tags assigned to the VPC.String
getVpcId()
The ID of the VPC.int
hashCode()
Boolean
isClassicLinkEnabled()
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
setVpcId(String vpcId)
The ID of the VPC.String
toString()
Returns a string representation of this object; useful for testing and debugging.VpcClassicLink
withClassicLinkEnabled(Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.VpcClassicLink
withTags(Tag... tags)
Any tags assigned to the VPC.VpcClassicLink
withTags(Collection<Tag> tags)
Any tags assigned to the VPC.VpcClassicLink
withVpcId(String vpcId)
The ID of the VPC.
-
-
-
Method Detail
-
setVpcId
public void setVpcId(String vpcId)
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.
-
getVpcId
public String getVpcId()
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
public VpcClassicLink withVpcId(String vpcId)
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
public void setClassicLinkEnabled(Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.
- Parameters:
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.
-
getClassicLinkEnabled
public Boolean getClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
- Returns:
- Indicates whether the VPC is enabled for ClassicLink.
-
withClassicLinkEnabled
public VpcClassicLink withClassicLinkEnabled(Boolean classicLinkEnabled)
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
public Boolean isClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
- Returns:
- Indicates whether the VPC is enabled for ClassicLink.
-
getTags
public List<Tag> getTags()
Any tags assigned to the VPC.
- Returns:
- Any tags assigned to the VPC.
-
setTags
public void setTags(Collection<Tag> tags)
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.
-
withTags
public VpcClassicLink withTags(Tag... tags)
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
public VpcClassicLink withTags(Collection<Tag> tags)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VpcClassicLink clone()
-
-