@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableReadOperationProperty extends Object implements ReadOperationProperty
ReadOperationProperty.
Use the builder to create immutable instances:
ImmutableReadOperationProperty.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableReadOperationProperty.Builder
Builds instances of type
ImmutableReadOperationProperty. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableReadOperationProperty.Builder |
builder()
Creates a builder for
ImmutableReadOperationProperty. |
static ImmutableReadOperationProperty |
copyOf(ReadOperationProperty instance)
Creates an immutable copy of a
ReadOperationProperty value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableReadOperationProperty that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
isRetrievable, isNullable, isQueryable, isTimestampFieldForIncrementalQueries. |
Boolean |
isNullable()
Specifies if the source field can have a null value.
|
Boolean |
isQueryable()
Specifies if the source field can be queried.
|
Boolean |
isRetrievable()
Specifies if the source field can be returned in a search result.
|
Boolean |
isTimestampFieldForIncrementalQueries()
Specifies if the source field can be used for incremental queries.
|
String |
toString()
Prints the immutable value
ReadOperationProperty with attribute values. |
ImmutableReadOperationProperty |
withIsNullable(Boolean value)
Copy the current immutable object by setting a value for the
isNullable attribute. |
ImmutableReadOperationProperty |
withIsQueryable(Boolean value)
Copy the current immutable object by setting a value for the
isQueryable attribute. |
ImmutableReadOperationProperty |
withIsRetrievable(Boolean value)
Copy the current immutable object by setting a value for the
isRetrievable attribute. |
ImmutableReadOperationProperty |
withIsTimestampFieldForIncrementalQueries(Boolean value)
Copy the current immutable object by setting a value for the
isTimestampFieldForIncrementalQueries attribute. |
@Nullable public Boolean isRetrievable()
isRetrievable in interface ReadOperationProperty@Nullable public Boolean isNullable()
isNullable in interface ReadOperationProperty@Nullable public Boolean isQueryable()
isQueryable in interface ReadOperationProperty@Nullable public Boolean isTimestampFieldForIncrementalQueries()
isTimestampFieldForIncrementalQueries in interface ReadOperationPropertypublic final ImmutableReadOperationProperty withIsRetrievable(@Nullable Boolean value)
isRetrievable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isRetrievable (can be null)this objectpublic final ImmutableReadOperationProperty withIsNullable(@Nullable Boolean value)
isNullable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isNullable (can be null)this objectpublic final ImmutableReadOperationProperty withIsQueryable(@Nullable Boolean value)
isQueryable attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isQueryable (can be null)this objectpublic final ImmutableReadOperationProperty withIsTimestampFieldForIncrementalQueries(@Nullable Boolean value)
isTimestampFieldForIncrementalQueries attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for isTimestampFieldForIncrementalQueries (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableReadOperationProperty that have equal attribute values.public int hashCode()
isRetrievable, isNullable, isQueryable, isTimestampFieldForIncrementalQueries.public String toString()
ReadOperationProperty with attribute values.public static ImmutableReadOperationProperty copyOf(ReadOperationProperty instance)
ReadOperationProperty value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableReadOperationProperty.Builder builder()
ImmutableReadOperationProperty.
ImmutableReadOperationProperty.builder()
.isRetrievable(Boolean | null) // nullable isRetrievable
.isNullable(Boolean | null) // nullable isNullable
.isQueryable(Boolean | null) // nullable isQueryable
.isTimestampFieldForIncrementalQueries(Boolean | null) // nullable isTimestampFieldForIncrementalQueries
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.