@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetVpcLinkResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetVpcLinkResult() |
Modifier and Type | Method and Description |
---|---|
GetVpcLinkResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetVpcLinkResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetVpcLinkResult |
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 |
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.
|
GetVpcLinkResult |
withCreatedDate(Date createdDate)
The timestamp when the VPC link was created.
|
GetVpcLinkResult |
withName(String name)
The name of the VPC link.
|
GetVpcLinkResult |
withSecurityGroupIds(Collection<String> securityGroupIds)
A list of security group IDs for the VPC link.
|
GetVpcLinkResult |
withSecurityGroupIds(String... securityGroupIds)
A list of security group IDs for the VPC link.
|
GetVpcLinkResult |
withSubnetIds(Collection<String> subnetIds)
A list of subnet IDs to include in the VPC link.
|
GetVpcLinkResult |
withSubnetIds(String... subnetIds)
A list of subnet IDs to include in the VPC link.
|
GetVpcLinkResult |
withTags(Map<String,String> tags)
Tags for the VPC link.
|
GetVpcLinkResult |
withVpcLinkId(String vpcLinkId)
The ID of the VPC link.
|
GetVpcLinkResult |
withVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
|
GetVpcLinkResult |
withVpcLinkStatus(VpcLinkStatus vpcLinkStatus)
The status of the VPC link.
|
GetVpcLinkResult |
withVpcLinkStatusMessage(String vpcLinkStatusMessage)
A message summarizing the cause of the status of the VPC link.
|
GetVpcLinkResult |
withVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
|
GetVpcLinkResult |
withVpcLinkVersion(VpcLinkVersion vpcLinkVersion)
The version of the VPC link.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult withTags(Map<String,String> tags)
Tags for the VPC link.
tags
- Tags for the VPC link.public GetVpcLinkResult addTagsEntry(String key, String value)
public GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult withVpcLinkStatus(String vpcLinkStatus)
The status of the VPC link.
vpcLinkStatus
- The status of the VPC link.VpcLinkStatus
public GetVpcLinkResult 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 GetVpcLinkResult 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 GetVpcLinkResult withVpcLinkVersion(String vpcLinkVersion)
The version of the VPC link.
vpcLinkVersion
- The version of the VPC link.VpcLinkVersion
public GetVpcLinkResult 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 GetVpcLinkResult clone()