* The ARN of the link that is newly created. *
*/ 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. If the labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
*
* The exact label template that you specified, with the 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 that is newly created. *
* * @param arn * The ARN of the link that is newly created. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the link that is newly created. *
* * @return The ARN of the link that is newly created. */ public String getArn() { return this.arn; } /** ** The ARN of the link that is newly created. *
* * @param arn * The ARN of the link that is newly created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLinkResult 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 CreateLinkResult withId(String id) { setId(id); return this; } /** *
* The label that you assigned to this link. If the labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
*
labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
*/
public void setLabel(String label) {
this.label = label;
}
/**
*
* The label that you assigned to this link. If the labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
*
labelTemplate
includes variables, this
* field displays the variables resolved to their actual values.
*/
public String getLabel() {
return this.label;
}
/**
*
* The label that you assigned to this link. If the labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
*
labelTemplate
includes variables, this field
* displays the variables resolved to their actual values.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateLinkResult withLabel(String label) {
setLabel(label);
return this;
}
/**
* * The exact label template that you specified, with the variables not resolved. *
* * @param labelTemplate * The exact label template that you specified, with the variables not resolved. */ public void setLabelTemplate(String labelTemplate) { this.labelTemplate = labelTemplate; } /** ** The exact label template that you specified, with the variables not resolved. *
* * @return The exact label template that you specified, with the variables not resolved. */ public String getLabelTemplate() { return this.labelTemplate; } /** ** The exact label template that you specified, with the variables not resolved. *
* * @param labelTemplate * The exact label template that you specified, with the variables not resolved. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateLinkResult 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 CreateLinkResult 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 CreateLinkResult 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 CreateLinkResult 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 CreateLinkResult withTags(java.util.Map