@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableQueryObject extends Object implements QueryObject
QueryObject.
Use the builder to create immutable instances:
ImmutableQueryObject.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableQueryObject.Builder
Builds instances of type
ImmutableQueryObject. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableQueryObject.Builder |
builder()
Creates a builder for
ImmutableQueryObject. |
static ImmutableQueryObject |
copyOf(QueryObject instance)
Creates an immutable copy of a
QueryObject value. |
String |
dataType() |
EntityDefinition |
entityDefinition() |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableQueryObject that have equal attribute values. |
com.google.common.collect.ImmutableList<String> |
fields() |
String |
filterExpression() |
int |
hashCode()
Computes a hash code from attributes:
sObject, selectedFieldNames, filterExpression, idFieldName, fields, dataType, entityDefinition. |
String |
idFieldName() |
com.google.common.collect.ImmutableList<String> |
selectedFieldNames() |
String |
sObject() |
String |
toString()
Prints the immutable value
QueryObject with attribute values. |
ImmutableQueryObject |
withDataType(String value)
Copy the current immutable object by setting a value for the
dataType attribute. |
ImmutableQueryObject |
withEntityDefinition(EntityDefinition value)
Copy the current immutable object by setting a value for the
entityDefinition attribute. |
ImmutableQueryObject |
withFields(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
fields. |
ImmutableQueryObject |
withFields(String... elements)
Copy the current immutable object with elements that replace the content of
fields. |
ImmutableQueryObject |
withFilterExpression(String value)
Copy the current immutable object by setting a value for the
filterExpression attribute. |
ImmutableQueryObject |
withIdFieldName(String value)
Copy the current immutable object by setting a value for the
idFieldName attribute. |
ImmutableQueryObject |
withSelectedFieldNames(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
selectedFieldNames. |
ImmutableQueryObject |
withSelectedFieldNames(String... elements)
Copy the current immutable object with elements that replace the content of
selectedFieldNames. |
ImmutableQueryObject |
withSObject(String value)
Copy the current immutable object by setting a value for the
sObject attribute. |
public String sObject()
sObject in interface QueryObjectsObject attribute@Nullable public com.google.common.collect.ImmutableList<String> selectedFieldNames()
selectedFieldNames in interface QueryObjectselectedFieldNames attribute@Nullable public String filterExpression()
filterExpression in interface QueryObjectfilterExpression attribute@Nullable public String idFieldName()
idFieldName in interface QueryObjectidFieldName attribute@Nullable public com.google.common.collect.ImmutableList<String> fields()
fields in interface QueryObjectfields attribute@Nullable public String dataType()
dataType in interface QueryObjectdataType attribute@Nullable public EntityDefinition entityDefinition()
entityDefinition in interface QueryObjectentityDefinition attributepublic final ImmutableQueryObject withSObject(String value)
sObject attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for sObjectthis objectpublic final ImmutableQueryObject withSelectedFieldNames(@Nullable String... elements)
selectedFieldNames.elements - The elements to setthis objectpublic final ImmutableQueryObject withSelectedFieldNames(@Nullable Iterable<String> elements)
selectedFieldNames.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of selectedFieldNames elements to setthis objectpublic final ImmutableQueryObject withFilterExpression(@Nullable String value)
filterExpression attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for filterExpression (can be null)this objectpublic final ImmutableQueryObject withIdFieldName(@Nullable String value)
idFieldName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for idFieldName (can be null)this objectpublic final ImmutableQueryObject withFields(@Nullable String... elements)
fields.elements - The elements to setthis objectpublic final ImmutableQueryObject withFields(@Nullable Iterable<String> elements)
fields.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of fields elements to setthis objectpublic final ImmutableQueryObject withDataType(@Nullable String value)
dataType attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for dataType (can be null)this objectpublic final ImmutableQueryObject withEntityDefinition(@Nullable EntityDefinition value)
entityDefinition attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for entityDefinition (can be null)this objectpublic boolean equals(@Nullable Object another)
ImmutableQueryObject that have equal attribute values.public int hashCode()
sObject, selectedFieldNames, filterExpression, idFieldName, fields, dataType, entityDefinition.public String toString()
QueryObject with attribute values.public static ImmutableQueryObject copyOf(QueryObject instance)
QueryObject 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 ImmutableQueryObject.Builder builder()
ImmutableQueryObject.
ImmutableQueryObject.builder()
.sObject(String) // required sObject
.selectedFieldNames(List<String> | null) // nullable selectedFieldNames
.filterExpression(String | null) // nullable filterExpression
.idFieldName(String | null) // nullable idFieldName
.fields(List<String> | null) // nullable fields
.dataType(String | null) // nullable dataType
.entityDefinition(com.amazonaws.appflow.custom.connector.model.metadata.EntityDefinition | null) // nullable entityDefinition
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.