/** * <p> * The standard unit for the data point. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The standard unit for the data point. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit for the metric. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit for the metric. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit to use for the returned data points. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit to use for the returned data points. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of the metric associated with the alarm. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of the metric associated with the alarm. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of the metric. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of the metric. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit for the metric. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit for the metric. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units * being returned. If you specify only a unit that the metric does not report, the results of the call are null. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in * all units being returned. If you specify only a unit that the metric does not report, the results of the * call are null. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The standard unit for the data point. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The standard unit for the data point. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of the metric. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of the metric. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit to use for the returned data points. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit to use for the returned data points. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of the metric associated with the alarm. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of the metric associated with the alarm. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in all units * being returned. If you specify only a unit that the metric does not report, the results of the call are null. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit for a given metric. Metrics may be reported in multiple units. Not supplying a unit results in * all units being returned. If you specify only a unit that the metric does not report, the results of the * call are null. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes * because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also * specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data * points that specify a unit of measure, such as Percent, are aggregated separately. * </p> * <p> * If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the CloudWatch alarm * can get stuck in the <code>INSUFFICIENT DATA</code> state. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are * Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. * You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to * your data. Metric data points that specify a unit of measure, such as Percent, are aggregated * separately.</p> * <p> * If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the CloudWatch * alarm can get stuck in the <code>INSUFFICIENT DATA</code> state. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }
/** * <p> * The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are Bytes * because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also * specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data * points that specify a unit of measure, such as Percent, are aggregated separately. * </p> * <p> * If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the CloudWatch alarm * can get stuck in the <code>INSUFFICIENT DATA</code> state. * </p> * <p> * If the service returns an enum value that is not available in the current SDK version, {@link #unit} will return * {@link StandardUnit#UNKNOWN_TO_SDK_VERSION}. The raw value returned by the service is available from * {@link #unitAsString}. * </p> * * @return The unit of measure for the statistic. For example, the units for the Amazon EC2 NetworkIn metric are * Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. * You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to * your data. Metric data points that specify a unit of measure, such as Percent, are aggregated * separately.</p> * <p> * If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, the CloudWatch * alarm can get stuck in the <code>INSUFFICIENT DATA</code> state. * @see StandardUnit */ public StandardUnit unit() { return StandardUnit.fromValue(unit); }