All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.softlayer.api.service.container.metric.tracking.object.Details Maven / Gradle / Ivy

There is a newer version: 0.3.4
Show newest version
package com.softlayer.api.service.container.metric.tracking.object;

import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;

/**
 * SoftLayer_Container_Metric_Tracking_Object_Details This container is a parent class for detailing diverse metrics.
 *
 * @see SoftLayer_Container_Metric_Tracking_Object_Details
 */
@ApiType("SoftLayer_Container_Metric_Tracking_Object_Details")
public class Details extends Entity {

    /**
     * The name that best describes the metric being collected.
     */
    @ApiProperty(canBeNullOrNotSet = true)
    protected String metricName;

    public String getMetricName() {
        return metricName;
    }

    public void setMetricName(String metricName) {
        metricNameSpecified = true;
        this.metricName = metricName;
    }

    protected boolean metricNameSpecified;

    public boolean isMetricNameSpecified() {
        return metricNameSpecified;
    }

    public void unsetMetricName() {
        metricName = null;
        metricNameSpecified = false;
    }

    public static class Mask extends com.softlayer.api.service.Entity.Mask {

        public Mask metricName() {
            withLocalProperty("metricName");
            return this;
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy