Class IntOptions
- java.lang.Object
-
- software.amazon.awssdk.services.cloudsearch.model.IntOptions
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IntOptions.Builder,IntOptions>
@Generated("software.amazon.awssdk:codegen") public final class IntOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntOptions.Builder,IntOptions>
Options for a 64-bit signed integer field. Present if
IndexFieldTypespecifies the field is of typeint. All options are enabled by default.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIntOptions.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IntOptions.Builderbuilder()LongdefaultValue()A value to use for the field if the field isn't specified for a document.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfacetEnabled()Whether facet information can be returned for the field.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanreturnEnabled()Whether the contents of the field can be returned in the search results.List<SdkField<?>>sdkFields()BooleansearchEnabled()Whether the contents of the field are searchable.static Class<? extends IntOptions.Builder>serializableBuilderClass()BooleansortEnabled()Whether the field can be used to sort the search results.StringsourceField()The name of the source field to map to the field.IntOptions.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
defaultValue
public final Long defaultValue()
A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.- Returns:
- A value to use for the field if the field isn't specified for a document. This can be important if you are using the field in an expression and that field is not present in every document.
-
sourceField
public final String sourceField()
The name of the source field to map to the field.
- Returns:
- The name of the source field to map to the field.
-
facetEnabled
public final Boolean facetEnabled()
Whether facet information can be returned for the field.
- Returns:
- Whether facet information can be returned for the field.
-
searchEnabled
public final Boolean searchEnabled()
Whether the contents of the field are searchable.
- Returns:
- Whether the contents of the field are searchable.
-
returnEnabled
public final Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
- Returns:
- Whether the contents of the field can be returned in the search results.
-
sortEnabled
public final Boolean sortEnabled()
Whether the field can be used to sort the search results.
- Returns:
- Whether the field can be used to sort the search results.
-
toBuilder
public IntOptions.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IntOptions.Builder,IntOptions>
-
builder
public static IntOptions.Builder builder()
-
serializableBuilderClass
public static Class<? extends IntOptions.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-