public class VpcClassicLink
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes whether a VPC is enabled for ClassicLink.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
classicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
|
private SdkInternalList<Tag> |
tags
Any tags assigned to the VPC.
|
private java.lang.String |
vpcId
The ID of the VPC.
|
Constructor and Description |
---|
VpcClassicLink() |
Modifier and Type | Method and Description |
---|---|
VpcClassicLink |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
|
java.util.List<Tag> |
getTags()
Any tags assigned to the VPC.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
java.lang.Boolean |
isClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
|
void |
setClassicLinkEnabled(java.lang.Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.
|
void |
setTags(java.util.Collection<Tag> tags)
Any tags assigned to the VPC.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpcClassicLink |
withClassicLinkEnabled(java.lang.Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.
|
VpcClassicLink |
withTags(java.util.Collection<Tag> tags)
Any tags assigned to the VPC.
|
VpcClassicLink |
withTags(Tag... tags)
Any tags assigned to the VPC.
|
VpcClassicLink |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
private java.lang.String vpcId
The ID of the VPC.
private java.lang.Boolean classicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
private SdkInternalList<Tag> tags
Any tags assigned to the VPC.
public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public VpcClassicLink withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setClassicLinkEnabled(java.lang.Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.public java.lang.Boolean getClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
public VpcClassicLink withClassicLinkEnabled(java.lang.Boolean classicLinkEnabled)
Indicates whether the VPC is enabled for ClassicLink.
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.public java.lang.Boolean isClassicLinkEnabled()
Indicates whether the VPC is enabled for ClassicLink.
public java.util.List<Tag> getTags()
Any tags assigned to the VPC.
public void setTags(java.util.Collection<Tag> tags)
Any tags assigned to the VPC.
tags
- Any tags assigned to the VPC.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)
or
withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the VPC.public VpcClassicLink withTags(java.util.Collection<Tag> tags)
Any tags assigned to the VPC.
tags
- Any tags assigned to the VPC.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VpcClassicLink clone()
clone
in class java.lang.Object