@NotThreadSafe public static final class ImmutableQueryDataRequest.Builder extends Object
ImmutableQueryDataRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final ImmutableQueryDataRequest.Builder from(QueryDataRequest instance)
QueryDataRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder entityIdentifier(String entityIdentifier)
entityIdentifier attribute.entityIdentifier - The value for entityIdentifierthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder addSelectedFieldNames(String element)
selectedFieldNames list.element - A selectedFieldNames elementthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder addSelectedFieldNames(String... elements)
selectedFieldNames list.elements - An array of selectedFieldNames elementsthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder selectedFieldNames(@Nullable Iterable<String> elements)
selectedFieldNames list.elements - An iterable of selectedFieldNames elementsthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder addAllSelectedFieldNames(Iterable<String> elements)
selectedFieldNames list.elements - An iterable of selectedFieldNames elementsthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder filterExpression(@Nullable String filterExpression)
filterExpression attribute.filterExpression - The value for filterExpression (can be null)this builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder maxResults(Long maxResults)
maxResults attribute.
If not set, this attribute will have a default value as returned by the initializer of maxResults.
maxResults - The value for maxResultsthis builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder nextToken(@Nullable String nextToken)
nextToken attribute.nextToken - The value for nextToken (can be null)this builder for use in a chained invocationpublic final ImmutableQueryDataRequest.Builder connectorContext(ConnectorContext connectorContext)
connectorContext attribute.connectorContext - The value for connectorContextthis builder for use in a chained invocationpublic ImmutableQueryDataRequest build()
ImmutableQueryDataRequest.IllegalStateException - if any required attributes are missingCopyright © 2021–2022 Amazon Web Services. All rights reserved.