Interface ResultSetOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResultSetOptions.Builder,,ResultSetOptions> SdkBuilder<ResultSetOptions.Builder,,ResultSetOptions> SdkPojo
- Enclosing class:
ResultSetOptions
-
Method Summary
Modifier and TypeMethodDescriptiondecimalReturnType(String decimalReturnType) A value that indicates how a field ofDECIMALtype is represented in the response.decimalReturnType(DecimalReturnType decimalReturnType) A value that indicates how a field ofDECIMALtype is represented in the response.longReturnType(String longReturnType) A value that indicates how a field ofLONGtype is represented.longReturnType(LongReturnType longReturnType) A value that indicates how a field ofLONGtype is represented.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
decimalReturnType
A value that indicates how a field of
DECIMALtype is represented in the response. The value ofSTRING, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONGspecifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
- Parameters:
decimalReturnType- A value that indicates how a field ofDECIMALtype is represented in the response. The value ofSTRING, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONGspecifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
decimalReturnType
A value that indicates how a field of
DECIMALtype is represented in the response. The value ofSTRING, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONGspecifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
- Parameters:
decimalReturnType- A value that indicates how a field ofDECIMALtype is represented in the response. The value ofSTRING, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONGspecifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
longReturnType
A value that indicates how a field of
LONGtype is represented. Allowed values areLONGandSTRING. The default isLONG. SpecifySTRINGif the length or precision of numeric values might cause truncation or rounding errors.- Parameters:
longReturnType- A value that indicates how a field ofLONGtype is represented. Allowed values areLONGandSTRING. The default isLONG. SpecifySTRINGif the length or precision of numeric values might cause truncation or rounding errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
longReturnType
A value that indicates how a field of
LONGtype is represented. Allowed values areLONGandSTRING. The default isLONG. SpecifySTRINGif the length or precision of numeric values might cause truncation or rounding errors.- Parameters:
longReturnType- A value that indicates how a field ofLONGtype is represented. Allowed values areLONGandSTRING. The default isLONG. SpecifySTRINGif the length or precision of numeric values might cause truncation or rounding errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-