/** * <p> * The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example * <code>arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster</code> or * <code>arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot</code>. * </p> * <p> * For more information about ARNs, see <a * href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and * AWS Service Namespaces</a>. * </p> * * @param resourceName * The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example * <code>arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster</code> or * <code>arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot</code>.</p> * <p> * For more information about ARNs, see <a * href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names * (ARNs) and AWS Service Namespaces</a>. * @return Returns a reference to this object so that method calls can be chained together. */ public ListTagsForResourceRequest withResourceName(String resourceName) { setResourceName(resourceName); return this; }
/** * <p> * The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example * <code>arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster</code> or * <code>arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot</code>. * </p> * <p> * For more information about ARNs, see <a * href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs) and * AWS Service Namespaces</a>. * </p> * * @param resourceName * The Amazon Resource Name (ARN) of the resource for which you want the list of tags, for example * <code>arn:aws:elasticache:us-west-2:0123456789:cluster:myCluster</code> or * <code>arn:aws:elasticache:us-west-2:0123456789:snapshot:mySnapshot</code>.</p> * <p> * For more information about ARNs, see <a * href="http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names * (ARNs) and AWS Service Namespaces</a>. * @return Returns a reference to this object so that method calls can be chained together. */ public ListTagsForResourceRequest withResourceName(String resourceName) { setResourceName(resourceName); return this; }