@Generated(value="software.amazon.awssdk:codegen") public final class BackendAPIResourceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BackendAPIResourceConfig.Builder,BackendAPIResourceConfig>
The resource config for the data model, configured as a part of the Amplify project.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BackendAPIResourceConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<BackendAPIAuthType> |
additionalAuthTypes()
Additional authentication methods used to interact with your data models.
|
String |
apiName()
The API name used to interact with the data model, configured as a part of your Amplify project.
|
static BackendAPIResourceConfig.Builder |
builder() |
BackendAPIConflictResolution |
conflictResolution()
The conflict resolution strategy for your data stored in the data models.
|
BackendAPIAuthType |
defaultAuthType()
The default authentication type for interacting with the configured data models in your Amplify project.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAdditionalAuthTypes()
For responses, this returns true if the service returned a value for the AdditionalAuthTypes property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends BackendAPIResourceConfig.Builder> |
serializableBuilderClass() |
String |
service()
The service used to provision and interact with the data model.
|
BackendAPIResourceConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transformSchema()
The definition of the data model in the annotated transform of the GraphQL schema.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAdditionalAuthTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<BackendAPIAuthType> additionalAuthTypes()
Additional authentication methods used to interact with your data models.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAdditionalAuthTypes() method.
public final String apiName()
The API name used to interact with the data model, configured as a part of your Amplify project.
public final BackendAPIConflictResolution conflictResolution()
The conflict resolution strategy for your data stored in the data models.
public final BackendAPIAuthType defaultAuthType()
The default authentication type for interacting with the configured data models in your Amplify project.
public final String service()
The service used to provision and interact with the data model.
public final String transformSchema()
The definition of the data model in the annotated transform of the GraphQL schema.
public BackendAPIResourceConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BackendAPIResourceConfig.Builder,BackendAPIResourceConfig>public static BackendAPIResourceConfig.Builder builder()
public static Class<? extends BackendAPIResourceConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.