Package org.springframework.boot.convert
Annotation Interface DataSizeUnit
Annotation that can be used to change the default unit used when converting a
DataSize
.- Since:
- 2.1.0
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionorg.springframework.util.unit.DataUnit
TheDataUnit
to use if one is not specified.
-
Element Details
-
value
org.springframework.util.unit.DataUnit valueTheDataUnit
to use if one is not specified.- Returns:
- the data unit
-