Interface ResultSetOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResultSetOptions.Builder,ResultSetOptions>,SdkBuilder<ResultSetOptions.Builder,ResultSetOptions>,SdkPojo
- Enclosing class:
- ResultSetOptions
public static interface ResultSetOptions.Builder extends SdkPojo, CopyableBuilder<ResultSetOptions.Builder,ResultSetOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultSetOptions.BuilderdecimalReturnType(String decimalReturnType)A value that indicates how a field ofDECIMALtype is represented in the response.ResultSetOptions.BuilderdecimalReturnType(DecimalReturnType decimalReturnType)A value that indicates how a field ofDECIMALtype is represented in the response.ResultSetOptions.BuilderlongReturnType(String longReturnType)A value that indicates how a field ofLONGtype is represented.ResultSetOptions.BuilderlongReturnType(LongReturnType longReturnType)A value that indicates how a field ofLONGtype 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 Detail
-
decimalReturnType
ResultSetOptions.Builder decimalReturnType(String 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,DecimalReturnType
-
decimalReturnType
ResultSetOptions.Builder decimalReturnType(DecimalReturnType 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,DecimalReturnType
-
longReturnType
ResultSetOptions.Builder longReturnType(String 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,LongReturnType
-
longReturnType
ResultSetOptions.Builder longReturnType(LongReturnType 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,LongReturnType
-
-