![JAR search and dependency download from the Maven repository](/logo.png)
org.cdk8s.plus.SizeRoundingBehavior Maven / Gradle / Ivy
Show all versions of cdk8s-plus Show documentation
package org.cdk8s.plus;
/**
* Rounding behaviour when converting between units of `Size`.
*
* EXPERIMENTAL
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.7.0 (build 179a3a5)", date = "2020-06-29T13:29:38.543Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus.$Module.class, fqn = "cdk8s-plus.SizeRoundingBehavior")
public enum SizeRoundingBehavior {
/**
* Fail the conversion if the result is not an integer.
*
* EXPERIMENTAL
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
FAIL,
/**
* If the result is not an integer, round it to the closest integer less than the result.
*
* EXPERIMENTAL
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
FLOOR,
/**
* Don't round.
*
* Return even if the result is a fraction.
*
* EXPERIMENTAL
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
NONE,
}