@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableQueryDataRequest extends Object implements QueryDataRequest
QueryDataRequest.
Use the builder to create immutable instances:
ImmutableQueryDataRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableQueryDataRequest.Builder
Builds instances of type
ImmutableQueryDataRequest. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableQueryDataRequest.Builder |
builder()
Creates a builder for
ImmutableQueryDataRequest. |
ConnectorContext |
connectorContext()
Context contains the connector settings, credentials and APi version etc.
|
static ImmutableQueryDataRequest |
copyOf(QueryDataRequest instance)
Creates an immutable copy of a
QueryDataRequest value. |
String |
entityIdentifier()
Unique identifier for the entity.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableQueryDataRequest that have equal attribute values. |
String |
filterExpression()
Filter expression string similar to the WHERE clause in SQL.
|
int |
hashCode()
Computes a hash code from attributes:
entityIdentifier, selectedFieldNames, filterExpression, maxResults, nextToken, connectorContext. |
Long |
maxResults()
Maximum number of records needs to be returned as part of single call.
|
String |
nextToken()
The pagination token - next page should start from this token value.
|
List<String> |
selectedFieldNames()
Field values to retrieve.
|
String |
toString()
Prints the immutable value
QueryDataRequest with attribute values. |
ImmutableQueryDataRequest |
withConnectorContext(ConnectorContext value)
Copy the current immutable object by setting a value for the
connectorContext attribute. |
ImmutableQueryDataRequest |
withEntityIdentifier(String value)
Copy the current immutable object by setting a value for the
entityIdentifier attribute. |
ImmutableQueryDataRequest |
withFilterExpression(String value)
Copy the current immutable object by setting a value for the
filterExpression attribute. |
ImmutableQueryDataRequest |
withMaxResults(Long value)
Copy the current immutable object by setting a value for the
maxResults attribute. |
ImmutableQueryDataRequest |
withNextToken(String value)
Copy the current immutable object by setting a value for the
nextToken attribute. |
ImmutableQueryDataRequest |
withSelectedFieldNames(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
selectedFieldNames. |
ImmutableQueryDataRequest |
withSelectedFieldNames(String... elements)
Copy the current immutable object with elements that replace the content of
selectedFieldNames. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitclosepublic String entityIdentifier()
entityIdentifier in interface QueryDataRequest@Nullable public List<String> selectedFieldNames()
selectedFieldNames in interface QueryDataRequest@Nullable public String filterExpression()
filterExpression in interface QueryDataRequestpublic Long maxResults()
maxResults in interface QueryDataRequest@Nullable public String nextToken()
nextToken in interface QueryDataRequestpublic ConnectorContext connectorContext()
connectorContext in interface QueryDataRequestpublic final ImmutableQueryDataRequest withEntityIdentifier(String value)
entityIdentifier attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for entityIdentifierthis objectpublic final ImmutableQueryDataRequest withSelectedFieldNames(@Nullable String... elements)
selectedFieldNames.elements - The elements to setthis objectpublic final ImmutableQueryDataRequest 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 ImmutableQueryDataRequest 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 ImmutableQueryDataRequest withMaxResults(Long value)
maxResults attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for maxResultsthis objectpublic final ImmutableQueryDataRequest withNextToken(@Nullable String value)
nextToken attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nextToken (can be null)this objectpublic final ImmutableQueryDataRequest withConnectorContext(ConnectorContext value)
connectorContext attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for connectorContextthis objectpublic boolean equals(@Nullable Object another)
ImmutableQueryDataRequest that have equal attribute values.public int hashCode()
entityIdentifier, selectedFieldNames, filterExpression, maxResults, nextToken, connectorContext.public String toString()
QueryDataRequest with attribute values.public static ImmutableQueryDataRequest copyOf(QueryDataRequest instance)
QueryDataRequest 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 ImmutableQueryDataRequest.Builder builder()
ImmutableQueryDataRequest.
ImmutableQueryDataRequest.builder()
.entityIdentifier(String) // required entityIdentifier
.selectedFieldNames(List<String> | null) // nullable selectedFieldNames
.filterExpression(String | null) // nullable filterExpression
.maxResults(Long) // optional maxResults
.nextToken(String | null) // nullable nextToken
.connectorContext(com.amazonaws.appflow.custom.connector.model.ConnectorContext) // required connectorContext
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.