@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateVpcLinkResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).
Constructor and Description |
---|
UpdateVpcLinkResult() |
Modifier and Type | Method and Description |
---|---|
UpdateVpcLinkResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
UpdateVpcLinkResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
UpdateVpcLinkResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description of the VPC link.
|
String |
getId()
The identifier of the VpcLink.
|
String |
getName()
The name used to label and identify the VPC link.
|
String |
getStatus()
The status of the VPC link.
|
String |
getStatusMessage()
A description about the VPC link status.
|
Map<String,String> |
getTags()
The collection of tags.
|
List<String> |
getTargetArns()
The ARN of the network load balancer of the VPC targeted by the VPC link.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the VPC link.
|
void |
setId(String id)
The identifier of the VpcLink.
|
void |
setName(String name)
The name used to label and identify the VPC link.
|
void |
setStatus(String status)
The status of the VPC link.
|
void |
setStatusMessage(String statusMessage)
A description about the VPC link status.
|
void |
setTags(Map<String,String> tags)
The collection of tags.
|
void |
setTargetArns(Collection<String> targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link.
|
String |
toString()
Returns a string representation of this object.
|
UpdateVpcLinkResult |
withDescription(String description)
The description of the VPC link.
|
UpdateVpcLinkResult |
withId(String id)
The identifier of the VpcLink.
|
UpdateVpcLinkResult |
withName(String name)
The name used to label and identify the VPC link.
|
UpdateVpcLinkResult |
withStatus(String status)
The status of the VPC link.
|
UpdateVpcLinkResult |
withStatus(VpcLinkStatus status)
The status of the VPC link.
|
UpdateVpcLinkResult |
withStatusMessage(String statusMessage)
A description about the VPC link status.
|
UpdateVpcLinkResult |
withTags(Map<String,String> tags)
The collection of tags.
|
UpdateVpcLinkResult |
withTargetArns(Collection<String> targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link.
|
UpdateVpcLinkResult |
withTargetArns(String... targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setId(String id)
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
id
- The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.public String getId()
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
public UpdateVpcLinkResult withId(String id)
The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.
id
- The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.public void setName(String name)
The name used to label and identify the VPC link.
name
- The name used to label and identify the VPC link.public String getName()
The name used to label and identify the VPC link.
public UpdateVpcLinkResult withName(String name)
The name used to label and identify the VPC link.
name
- The name used to label and identify the VPC link.public void setDescription(String description)
The description of the VPC link.
description
- The description of the VPC link.public String getDescription()
The description of the VPC link.
public UpdateVpcLinkResult withDescription(String description)
The description of the VPC link.
description
- The description of the VPC link.public List<String> getTargetArns()
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
public void setTargetArns(Collection<String> targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
targetArns
- The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must
be owned by the same Amazon Web Services account of the API owner.public UpdateVpcLinkResult withTargetArns(String... targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
NOTE: This method appends the values to the existing list (if any). Use
setTargetArns(java.util.Collection)
or withTargetArns(java.util.Collection)
if you want to
override the existing values.
targetArns
- The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must
be owned by the same Amazon Web Services account of the API owner.public UpdateVpcLinkResult withTargetArns(Collection<String> targetArns)
The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.
targetArns
- The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must
be owned by the same Amazon Web Services account of the API owner.public void setStatus(String status)
The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
status
- The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is
PENDING
and will fail if the status is DELETING
.VpcLinkStatus
public String getStatus()
The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is
PENDING
and will fail if the status is DELETING
.VpcLinkStatus
public UpdateVpcLinkResult withStatus(String status)
The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
status
- The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is
PENDING
and will fail if the status is DELETING
.VpcLinkStatus
public UpdateVpcLinkResult withStatus(VpcLinkStatus status)
The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is PENDING
and will fail if the status is DELETING
.
status
- The status of the VPC link. The valid values are AVAILABLE
, PENDING
,
DELETING
, or FAILED
. Deploying an API will wait if the status is
PENDING
and will fail if the status is DELETING
.VpcLinkStatus
public void setStatusMessage(String statusMessage)
A description about the VPC link status.
statusMessage
- A description about the VPC link status.public String getStatusMessage()
A description about the VPC link status.
public UpdateVpcLinkResult withStatusMessage(String statusMessage)
A description about the VPC link status.
statusMessage
- A description about the VPC link status.public Map<String,String> getTags()
The collection of tags. Each tag element is associated with a given resource.
public void setTags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags
- The collection of tags. Each tag element is associated with a given resource.public UpdateVpcLinkResult withTags(Map<String,String> tags)
The collection of tags. Each tag element is associated with a given resource.
tags
- The collection of tags. Each tag element is associated with a given resource.public UpdateVpcLinkResult addTagsEntry(String key, String value)
public UpdateVpcLinkResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateVpcLinkResult clone()