public class VpcClassicLink extends Object implements Serializable, Cloneable
Describes whether a VPC is enabled for ClassicLink.
Constructor and Description |
---|
VpcClassicLink() |
Modifier and Type | Method and 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(Collection<Tag> tags)
Any tags assigned to the VPC.
|
VpcClassicLink |
withTags(Tag... tags)
Any tags assigned to the VPC.
|
VpcClassicLink |
withVpcId(String vpcId)
The ID of the VPC.
|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public VpcClassicLink withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.public Boolean isClassicLinkEnabled()
public void setClassicLinkEnabled(Boolean classicLinkEnabled)
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.public VpcClassicLink withClassicLinkEnabled(Boolean classicLinkEnabled)
Returns a reference to this object so that method calls can be chained together.
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.public Boolean getClassicLinkEnabled()
public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- Any tags assigned to the VPC.public VpcClassicLink withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the VPC.public VpcClassicLink withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- Any tags assigned to the VPC.public String toString()
toString
in class Object
Object.toString()
public VpcClassicLink clone()
Copyright © 2015. All rights reserved.