public void setMetricName(String metricName) {
        this.metricName = metricName;
    }
<p>
The metric for which you want to return information.
</p>
<p>
Valid bucket metric names are listed below, along with the most useful statistics to include in your request, and
the published unit value.
</p>
<note>
<p>
These bucket metrics are reported once per day.
</p>
</note>
<ul>
<li>
<p>
<b> <code>BucketSizeBytes</code> </b> - The amount of data in bytes stored in a bucket. This value is calculated
by summing the size of all objects in the bucket (including object versions), including the size of all parts for
all incomplete multipart uploads to the bucket.
</p>
<p>
Statistics: The most useful statistic is <code>Maximum</code>.
</p>
<p>
Unit: The published unit is <code>Bytes</code>.
</p>
</li>
<li>
<p>
<b> <code>NumberOfObjects</code> </b> - The total number of objects stored in a bucket. This value is calculated
by counting all objects in the bucket (including object versions) and the total number of parts for all
incomplete multipart uploads to the bucket.
</p>
<p>
Statistics: The most useful statistic is <code>Average</code>.
</p>
<p>
Unit: The published unit is <code>Count</code>.
</p>
</li>
</ul>

@param metricName
       The metric for which you want to return information.</p>
       <p>
       Valid bucket metric names are listed below, along with the most useful statistics to include in your
       request, and the published unit value.
       </p>
       <note>
       <p>
       These bucket metrics are reported once per day.
       </p>
       </note>
       <ul>
       <li>
       <p>
       <b> <code>BucketSizeBytes</code> </b> - The amount of data in bytes stored in a bucket. This value is
       calculated by summing the size of all objects in the bucket (including object versions), including the
       size of all parts for all incomplete multipart uploads to the bucket.
       </p>
       <p>
       Statistics: The most useful statistic is <code>Maximum</code>.
       </p>
       <p>
       Unit: The published unit is <code>Bytes</code>.
       </p>
       </li>
       <li>
       <p>
       <b> <code>NumberOfObjects</code> </b> - The total number of objects stored in a bucket. This value is
       calculated by counting all objects in the bucket (including object versions) and the total number of parts
       for all incomplete multipart uploads to the bucket.
       </p>
       <p>
       Statistics: The most useful statistic is <code>Average</code>.
       </p>
       <p>
       Unit: The published unit is <code>Count</code>.
       </p>
       </li>
@see BucketMetricName
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/GetBucketMetricDataRequest.java