@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcLink extends Object implements Serializable, Cloneable, StructuredPojo
Represents a VPC link.
Constructor and Description |
---|
VpcLink() |
Modifier and Type | Method and Description |
---|---|
VpcLink |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
VpcLink |
clearTagsEntries()
Removes all the entries added into Tags.
|
VpcLink |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The timestamp when the VPC link was created.
|
String |
getName()
The name of the VPC link.
|
List<String> |
getSecurityGroupIds()
A list of security group IDs for the VPC link.
|
List<String> |
getSubnetIds()
A list of subnet IDs to include in the VPC link.
|
Map<String,String> |
getTags()
Tags for the VPC link.
|
String |
getVpcLinkId()
The ID of the VPC link.
|
String |
getVpcLinkStatus()
The status of the VPC link.
|
String |
getVpcLinkStatusMessage()
A message summarizing the cause of the status of the VPC link.
|
String |
getVpcLinkVersion()
The version of the VPC link.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The timestamp when the VPC link was created.
|
void |
setName(String name)
The name of the VPC link.
|
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
|
void |
setTags(Map<String,String> tags)
Tags for the VPC link.
|
void |
setVpcLinkId(String vpcLinkId)
The ID of the VPC link.
|
void |
setVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
|
void |
setVpcLinkStatusMessage(String vpcLinkStatusMessage)
A message summarizing the cause of the status of the VPC link.
|
void |
setVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
|
String |
toString()
Returns a string representation of this object.
|
VpcLink |
withCreatedDate(Date createdDate)
The timestamp when the VPC link was created.
|
VpcLink |
withName(String name)
The name of the VPC link.
|
VpcLink |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
|
VpcLink |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC link.
|
VpcLink |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
|
VpcLink |
withSubnetIds(String... subnetIds)
A list of subnet IDs to include in the VPC link.
|
VpcLink |
withTags(Map<String,String> tags)
Tags for the VPC link.
|
VpcLink |
withVpcLinkId(String vpcLinkId)
The ID of the VPC link.
|
VpcLink |
withVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
|
VpcLink |
withVpcLinkStatus(VpcLinkStatus vpcLinkStatus)
The status of the VPC link.
|
VpcLink |
withVpcLinkStatusMessage(String vpcLinkStatusMessage)
A message summarizing the cause of the status of the VPC link.
|
VpcLink |
withVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
|
VpcLink |
withVpcLinkVersion(VpcLinkVersion vpcLinkVersion)
The version of the VPC link.
|
public void setCreatedDate(Date createdDate)
The timestamp when the VPC link was created.
createdDate
- The timestamp when the VPC link was created.public Date getCreatedDate()
The timestamp when the VPC link was created.
public VpcLink withCreatedDate(Date createdDate)
The timestamp when the VPC link was created.
createdDate
- The timestamp when the VPC link was created.public void setName(String name)
The name of the VPC link.
name
- The name of the VPC link.public String getName()
The name of the VPC link.
public VpcLink withName(String name)
The name of the VPC link.
name
- The name of the VPC link.public List<String> getSecurityGroupIds()
A list of security group IDs for the VPC link.
public void setSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
securityGroupIds
- A list of security group IDs for the VPC link.public VpcLink withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC link.
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroupIds(java.util.Collection)
or withSecurityGroupIds(java.util.Collection)
if you
want to override the existing values.
securityGroupIds
- A list of security group IDs for the VPC link.public VpcLink withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
securityGroupIds
- A list of security group IDs for the VPC link.public List<String> getSubnetIds()
A list of subnet IDs to include in the VPC link.
public void setSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
subnetIds
- A list of subnet IDs to include in the VPC link.public VpcLink withSubnetIds(String... subnetIds)
A list of subnet IDs to include in the VPC link.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of subnet IDs to include in the VPC link.public VpcLink withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
subnetIds
- A list of subnet IDs to include in the VPC link.public void setTags(Map<String,String> tags)
Tags for the VPC link.
tags
- Tags for the VPC link.public VpcLink withTags(Map<String,String> tags)
Tags for the VPC link.
tags
- Tags for the VPC link.public VpcLink clearTagsEntries()
public void setVpcLinkId(String vpcLinkId)
The ID of the VPC link.
vpcLinkId
- The ID of the VPC link.public String getVpcLinkId()
The ID of the VPC link.
public VpcLink withVpcLinkId(String vpcLinkId)
The ID of the VPC link.
vpcLinkId
- The ID of the VPC link.public void setVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
vpcLinkStatus
- The status of the VPC link.VpcLinkStatus
public String getVpcLinkStatus()
The status of the VPC link.
VpcLinkStatus
public VpcLink withVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
vpcLinkStatus
- The status of the VPC link.VpcLinkStatus
public VpcLink withVpcLinkStatus(VpcLinkStatus vpcLinkStatus)
The status of the VPC link.
vpcLinkStatus
- The status of the VPC link.VpcLinkStatus
public void setVpcLinkStatusMessage(String vpcLinkStatusMessage)
A message summarizing the cause of the status of the VPC link.
vpcLinkStatusMessage
- A message summarizing the cause of the status of the VPC link.public String getVpcLinkStatusMessage()
A message summarizing the cause of the status of the VPC link.
public VpcLink withVpcLinkStatusMessage(String vpcLinkStatusMessage)
A message summarizing the cause of the status of the VPC link.
vpcLinkStatusMessage
- A message summarizing the cause of the status of the VPC link.public void setVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
vpcLinkVersion
- The version of the VPC link.VpcLinkVersion
public String getVpcLinkVersion()
The version of the VPC link.
VpcLinkVersion
public VpcLink withVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
vpcLinkVersion
- The version of the VPC link.VpcLinkVersion
public VpcLink withVpcLinkVersion(VpcLinkVersion vpcLinkVersion)
The version of the VPC link.
vpcLinkVersion
- The version of the VPC link.VpcLinkVersion
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.