* The ARN of the link that you have updated. *
*/ private String arn; /** ** The random ID string that Amazon Web Services generated as part of the sink ARN. *
*/ private String id; /** ** The label 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 now 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 that you have updated. *
* * @param arn * The ARN of the link that you have updated. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the link that you have updated. *
* * @return The ARN of the link that you have updated. */ public String getArn() { return this.arn; } /** ** The ARN of the link that you have updated. *
* * @param arn * The ARN of the link that you have updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLinkResult withArn(String arn) { setArn(arn); return this; } /** ** The random ID string that Amazon Web Services generated as part of the sink ARN. *
* * @param id * The random ID string that Amazon Web Services generated as part of the sink ARN. */ public void setId(String id) { this.id = id; } /** ** The random ID string that Amazon Web Services generated as part of the sink ARN. *
* * @return The random ID string that Amazon Web Services generated as part of the sink ARN. */ public String getId() { return this.id; } /** ** The random ID string that Amazon Web Services generated as part of the sink ARN. *
* * @param id * The random ID string that Amazon Web Services generated as part of the sink ARN. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLinkResult withId(String id) { setId(id); return this; } /** ** The label assigned to this link, with the variables resolved to their actual values. *
* * @param label * The label assigned to this link, with the variables resolved to their actual values. */ public void setLabel(String label) { this.label = label; } /** ** The label assigned to this link, with the variables resolved to their actual values. *
* * @return The label assigned to this link, with the variables resolved to their actual values. */ public String getLabel() { return this.label; } /** ** The label assigned to this link, with the variables resolved to their actual values. *
* * @param label * The label 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 UpdateLinkResult 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 UpdateLinkResult withLabelTemplate(String labelTemplate) { setLabelTemplate(labelTemplate); return this; } /** ** The resource types now supported by this link. *
* * @return The resource types now supported by this link. */ public java.util.List* The resource types now supported by this link. *
* * @param resourceTypes * The resource types now supported by this link. */ public void setResourceTypes(java.util.Collection* The resource types now 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 now supported by this link. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLinkResult withResourceTypes(String... resourceTypes) { if (this.resourceTypes == null) { setResourceTypes(new java.util.ArrayList* The resource types now supported by this link. *
* * @param resourceTypes * The resource types now supported by this link. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateLinkResult 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 UpdateLinkResult 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 UpdateLinkResult withTags(java.util.Map