* The ARN of the link. *
*/ private String arn; /** ** The random ID string that Amazon Web Services generated as part of the link ARN. *
*/ private String id; /** ** The label that you assigned to this link, with the variables resolved to their actual values. *
*/ private String label; /** ** The exact label template that was specified when the link was created, with the template variables not resolved. *
*/ private String labelTemplate; /** ** The resource types supported by this link. *
*/ private java.util.List* The ARN of the sink that is used for this link. *
*/ private String sinkArn; /** ** The tags assigned to the link. *
*/ private java.util.Map* The ARN of the link. *
* * @param arn * The ARN of the link. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the link. *
* * @return The ARN of the link. */ public String getArn() { return this.arn; } /** ** The ARN of the link. *
* * @param arn * The ARN of the link. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withArn(String arn) { setArn(arn); return this; } /** ** The random ID string that Amazon Web Services generated as part of the link ARN. *
* * @param id * The random ID string that Amazon Web Services generated as part of the link ARN. */ public void setId(String id) { this.id = id; } /** ** The random ID string that Amazon Web Services generated as part of the link ARN. *
* * @return The random ID string that Amazon Web Services generated as part of the link ARN. */ public String getId() { return this.id; } /** ** The random ID string that Amazon Web Services generated as part of the link ARN. *
* * @param id * The random ID string that Amazon Web Services generated as part of the link ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withId(String id) { setId(id); return this; } /** ** The label that you assigned to this link, with the variables resolved to their actual values. *
* * @param label * The label that you assigned to this link, with the variables resolved to their actual values. */ public void setLabel(String label) { this.label = label; } /** ** The label that you assigned to this link, with the variables resolved to their actual values. *
* * @return The label that you assigned to this link, with the variables resolved to their actual values. */ public String getLabel() { return this.label; } /** ** The label that you assigned to this link, with the variables resolved to their actual values. *
* * @param label * The label that you assigned to this link, with the variables resolved to their actual values. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withLabel(String label) { setLabel(label); return this; } /** ** The exact label template that was specified when the link was created, with the template variables not resolved. *
* * @param labelTemplate * The exact label template that was specified when the link was created, with the template variables not * resolved. */ public void setLabelTemplate(String labelTemplate) { this.labelTemplate = labelTemplate; } /** ** The exact label template that was specified when the link was created, with the template variables not resolved. *
* * @return The exact label template that was specified when the link was created, with the template variables not * resolved. */ public String getLabelTemplate() { return this.labelTemplate; } /** ** The exact label template that was specified when the link was created, with the template variables not resolved. *
* * @param labelTemplate * The exact label template that was specified when the link was created, with the template variables not * resolved. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withLabelTemplate(String labelTemplate) { setLabelTemplate(labelTemplate); return this; } /** ** The resource types supported by this link. *
* * @return The resource types supported by this link. */ public java.util.List* The resource types supported by this link. *
* * @param resourceTypes * The resource types supported by this link. */ public void setResourceTypes(java.util.Collection* The resource types supported by this link. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setResourceTypes(java.util.Collection)} or {@link #withResourceTypes(java.util.Collection)} if you want * to override the existing values. *
* * @param resourceTypes * The resource types supported by this link. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withResourceTypes(String... resourceTypes) { if (this.resourceTypes == null) { setResourceTypes(new java.util.ArrayList* The resource types supported by this link. *
* * @param resourceTypes * The resource types supported by this link. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withResourceTypes(java.util.Collection* The ARN of the sink that is used for this link. *
* * @param sinkArn * The ARN of the sink that is used for this link. */ public void setSinkArn(String sinkArn) { this.sinkArn = sinkArn; } /** ** The ARN of the sink that is used for this link. *
* * @return The ARN of the sink that is used for this link. */ public String getSinkArn() { return this.sinkArn; } /** ** The ARN of the sink that is used for this link. *
* * @param sinkArn * The ARN of the sink that is used for this link. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withSinkArn(String sinkArn) { setSinkArn(sinkArn); return this; } /** ** The tags assigned to the link. *
* * @return The tags assigned to the link. */ public java.util.Map* The tags assigned to the link. *
* * @param tags * The tags assigned to the link. */ public void setTags(java.util.Map* The tags assigned to the link. *
* * @param tags * The tags assigned to the link. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLinkResult withTags(java.util.Map