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 VpcClassicLinkclone()booleanequals(Object obj)BooleangetClassicLinkEnabled()Indicates whether the VPC is enabled for ClassicLink.List<Tag>getTags()Any tags assigned to the VPC.StringgetVpcId()The ID of the VPC.inthashCode()BooleanisClassicLinkEnabled()Indicates whether the VPC is enabled for ClassicLink.voidsetClassicLinkEnabled(Boolean classicLinkEnabled)Indicates whether the VPC is enabled for ClassicLink.voidsetTags(Collection<Tag> tags)Any tags assigned to the VPC.voidsetVpcId(String vpcId)The ID of the VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.VpcClassicLinkwithClassicLinkEnabled(Boolean classicLinkEnabled)Indicates whether the VPC is enabled for ClassicLink.VpcClassicLinkwithTags(Tag... tags)Any tags assigned to the VPC.VpcClassicLinkwithTags(Collection<Tag> tags)Any tags assigned to the VPC.VpcClassicLinkwithVpcId(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VpcClassicLink clone()
-
-