@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableRetrieveDataRequest extends Object implements RetrieveDataRequest
RetrieveDataRequest.
Use the builder to create immutable instances:
ImmutableRetrieveDataRequest.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableRetrieveDataRequest.Builder
Builds instances of type
ImmutableRetrieveDataRequest. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableRetrieveDataRequest.Builder |
builder()
Creates a builder for
ImmutableRetrieveDataRequest. |
ConnectorContext |
connectorContext()
Context contains the connector settings, credentials and APi version etc.
|
static ImmutableRetrieveDataRequest |
copyOf(RetrieveDataRequest instance)
Creates an immutable copy of a
RetrieveDataRequest value. |
String |
entityIdentifier()
Unique identifier for the entity.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableRetrieveDataRequest that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
entityIdentifier, selectedFieldNames, idFieldName, ids, connectorContext. |
String |
idFieldName()
Field name which will be used as part of where statement to retrieve the data.
|
List<String> |
ids()
List of values for idFieldName.
|
List<String> |
selectedFieldNames()
Field values to retrieve.
|
String |
toString()
Prints the immutable value
RetrieveDataRequest with attribute values. |
ImmutableRetrieveDataRequest |
withConnectorContext(ConnectorContext value)
Copy the current immutable object by setting a value for the
connectorContext attribute. |
ImmutableRetrieveDataRequest |
withEntityIdentifier(String value)
Copy the current immutable object by setting a value for the
entityIdentifier attribute. |
ImmutableRetrieveDataRequest |
withIdFieldName(String value)
Copy the current immutable object by setting a value for the
idFieldName attribute. |
ImmutableRetrieveDataRequest |
withIds(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
ids. |
ImmutableRetrieveDataRequest |
withIds(String... elements)
Copy the current immutable object with elements that replace the content of
ids. |
ImmutableRetrieveDataRequest |
withSelectedFieldNames(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
selectedFieldNames. |
ImmutableRetrieveDataRequest |
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 RetrieveDataRequest@Nullable public List<String> selectedFieldNames()
selectedFieldNames in interface RetrieveDataRequest@Nullable public String idFieldName()
idFieldName in interface RetrieveDataRequest@Nullable public List<String> ids()
ids in interface RetrieveDataRequestpublic ConnectorContext connectorContext()
connectorContext in interface RetrieveDataRequestpublic final ImmutableRetrieveDataRequest 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 ImmutableRetrieveDataRequest withSelectedFieldNames(@Nullable String... elements)
selectedFieldNames.elements - The elements to setthis objectpublic final ImmutableRetrieveDataRequest 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 ImmutableRetrieveDataRequest 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 ImmutableRetrieveDataRequest withIds(@Nullable String... elements)
ids.elements - The elements to setthis objectpublic final ImmutableRetrieveDataRequest withIds(@Nullable Iterable<String> elements)
ids.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of ids elements to setthis objectpublic final ImmutableRetrieveDataRequest 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)
ImmutableRetrieveDataRequest that have equal attribute values.public int hashCode()
entityIdentifier, selectedFieldNames, idFieldName, ids, connectorContext.public String toString()
RetrieveDataRequest with attribute values.public static ImmutableRetrieveDataRequest copyOf(RetrieveDataRequest instance)
RetrieveDataRequest 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 ImmutableRetrieveDataRequest.Builder builder()
ImmutableRetrieveDataRequest.
ImmutableRetrieveDataRequest.builder()
.entityIdentifier(String) // required entityIdentifier
.selectedFieldNames(List<String> | null) // nullable selectedFieldNames
.idFieldName(String | null) // nullable idFieldName
.ids(List<String> | null) // nullable ids
.connectorContext(com.amazonaws.appflow.custom.connector.model.ConnectorContext) // required connectorContext
.build();
Copyright © 2021–2022 Amazon Web Services. All rights reserved.