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 ofDECIMAL
type is represented in the response.decimalReturnType
(DecimalReturnType decimalReturnType) A value that indicates how a field ofDECIMAL
type is represented in the response.longReturnType
(String longReturnType) A value that indicates how a field ofLONG
type is represented.longReturnType
(LongReturnType longReturnType) A value that indicates how a field ofLONG
type is represented.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
decimalReturnType
A value that indicates how a field of
DECIMAL
type is represented in the response. The value ofSTRING
, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONG
specifies 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 ofDECIMAL
type is represented in the response. The value ofSTRING
, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONG
specifies 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
DECIMAL
type is represented in the response. The value ofSTRING
, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONG
specifies 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 ofDECIMAL
type is represented in the response. The value ofSTRING
, the default, specifies that it is converted to a String value. The value ofDOUBLE_OR_LONG
specifies 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
LONG
type is represented. Allowed values areLONG
andSTRING
. The default isLONG
. SpecifySTRING
if the length or precision of numeric values might cause truncation or rounding errors.- Parameters:
longReturnType
- A value that indicates how a field ofLONG
type is represented. Allowed values areLONG
andSTRING
. The default isLONG
. SpecifySTRING
if 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
LONG
type is represented. Allowed values areLONG
andSTRING
. The default isLONG
. SpecifySTRING
if the length or precision of numeric values might cause truncation or rounding errors.- Parameters:
longReturnType
- A value that indicates how a field ofLONG
type is represented. Allowed values areLONG
andSTRING
. The default isLONG
. SpecifySTRING
if 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:
-