@Generated(value="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 IndexFieldType
specifies the field is of type
int
. All options are enabled by default.
Modifier and Type | Class and Description |
---|---|
static interface |
IntOptions.Builder |
Modifier and Type | Method and Description |
---|---|
static IntOptions.Builder |
builder() |
Long |
defaultValue()
A value to use for the field if the field isn't specified for a document.
|
boolean |
equals(Object obj) |
Boolean |
facetEnabled()
Whether facet information can be returned for the field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
returnEnabled()
Whether the contents of the field can be returned in the search results.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
searchEnabled()
Whether the contents of the field are searchable.
|
static Class<? extends IntOptions.Builder> |
serializableBuilderClass() |
Boolean |
sortEnabled()
Whether the field can be used to sort the search results.
|
String |
sourceField()
The name of the source field to map to the field.
|
IntOptions.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Long defaultValue()
public String sourceField()
The name of the source field to map to the field.
public Boolean facetEnabled()
Whether facet information can be returned for the field.
public Boolean searchEnabled()
Whether the contents of the field are searchable.
public Boolean returnEnabled()
Whether the contents of the field can be returned in the search results.
public Boolean sortEnabled()
Whether the field can be used to sort the search results.
public IntOptions.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IntOptions.Builder,IntOptions>
public static IntOptions.Builder builder()
public static Class<? extends IntOptions.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.