@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackendAPIResourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
The resource config for the data model, configured as a part of the Amplify project.
Constructor and Description |
---|
BackendAPIResourceConfig() |
Modifier and Type | Method and Description |
---|---|
BackendAPIResourceConfig |
clone() |
boolean |
equals(Object obj) |
List<BackendAPIAuthType> |
getAdditionalAuthTypes()
Additional authentication methods used to interact with your data models.
|
String |
getApiName()
The API name used to interact with the data model, configured as a part of your Amplify project.
|
BackendAPIConflictResolution |
getConflictResolution()
The conflict resolution strategy for your data stored in the data models.
|
BackendAPIAuthType |
getDefaultAuthType()
The default authentication type for interacting with the configured data models in your Amplify project.
|
String |
getService()
The service used to provision and interact with the data model.
|
String |
getTransformSchema()
The definition of the data model in the annotated transform of the GraphQL schema.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)
Additional authentication methods used to interact with your data models.
|
void |
setApiName(String apiName)
The API name used to interact with the data model, configured as a part of your Amplify project.
|
void |
setConflictResolution(BackendAPIConflictResolution conflictResolution)
The conflict resolution strategy for your data stored in the data models.
|
void |
setDefaultAuthType(BackendAPIAuthType defaultAuthType)
The default authentication type for interacting with the configured data models in your Amplify project.
|
void |
setService(String service)
The service used to provision and interact with the data model.
|
void |
setTransformSchema(String transformSchema)
The definition of the data model in the annotated transform of the GraphQL schema.
|
String |
toString()
Returns a string representation of this object.
|
BackendAPIResourceConfig |
withAdditionalAuthTypes(BackendAPIAuthType... additionalAuthTypes)
Additional authentication methods used to interact with your data models.
|
BackendAPIResourceConfig |
withAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)
Additional authentication methods used to interact with your data models.
|
BackendAPIResourceConfig |
withApiName(String apiName)
The API name used to interact with the data model, configured as a part of your Amplify project.
|
BackendAPIResourceConfig |
withConflictResolution(BackendAPIConflictResolution conflictResolution)
The conflict resolution strategy for your data stored in the data models.
|
BackendAPIResourceConfig |
withDefaultAuthType(BackendAPIAuthType defaultAuthType)
The default authentication type for interacting with the configured data models in your Amplify project.
|
BackendAPIResourceConfig |
withService(String service)
The service used to provision and interact with the data model.
|
BackendAPIResourceConfig |
withTransformSchema(String transformSchema)
The definition of the data model in the annotated transform of the GraphQL schema.
|
public List<BackendAPIAuthType> getAdditionalAuthTypes()
Additional authentication methods used to interact with your data models.
public void setAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)
Additional authentication methods used to interact with your data models.
additionalAuthTypes
- Additional authentication methods used to interact with your data models.public BackendAPIResourceConfig withAdditionalAuthTypes(BackendAPIAuthType... additionalAuthTypes)
Additional authentication methods used to interact with your data models.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalAuthTypes(java.util.Collection)
or withAdditionalAuthTypes(java.util.Collection)
if you want to override the existing values.
additionalAuthTypes
- Additional authentication methods used to interact with your data models.public BackendAPIResourceConfig withAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)
Additional authentication methods used to interact with your data models.
additionalAuthTypes
- Additional authentication methods used to interact with your data models.public void setApiName(String apiName)
The API name used to interact with the data model, configured as a part of your Amplify project.
apiName
- The API name used to interact with the data model, configured as a part of your Amplify project.public String getApiName()
The API name used to interact with the data model, configured as a part of your Amplify project.
public BackendAPIResourceConfig withApiName(String apiName)
The API name used to interact with the data model, configured as a part of your Amplify project.
apiName
- The API name used to interact with the data model, configured as a part of your Amplify project.public void setConflictResolution(BackendAPIConflictResolution conflictResolution)
The conflict resolution strategy for your data stored in the data models.
conflictResolution
- The conflict resolution strategy for your data stored in the data models.public BackendAPIConflictResolution getConflictResolution()
The conflict resolution strategy for your data stored in the data models.
public BackendAPIResourceConfig withConflictResolution(BackendAPIConflictResolution conflictResolution)
The conflict resolution strategy for your data stored in the data models.
conflictResolution
- The conflict resolution strategy for your data stored in the data models.public void setDefaultAuthType(BackendAPIAuthType defaultAuthType)
The default authentication type for interacting with the configured data models in your Amplify project.
defaultAuthType
- The default authentication type for interacting with the configured data models in your Amplify project.public BackendAPIAuthType getDefaultAuthType()
The default authentication type for interacting with the configured data models in your Amplify project.
public BackendAPIResourceConfig withDefaultAuthType(BackendAPIAuthType defaultAuthType)
The default authentication type for interacting with the configured data models in your Amplify project.
defaultAuthType
- The default authentication type for interacting with the configured data models in your Amplify project.public void setService(String service)
The service used to provision and interact with the data model.
service
- The service used to provision and interact with the data model.public String getService()
The service used to provision and interact with the data model.
public BackendAPIResourceConfig withService(String service)
The service used to provision and interact with the data model.
service
- The service used to provision and interact with the data model.public void setTransformSchema(String transformSchema)
The definition of the data model in the annotated transform of the GraphQL schema.
transformSchema
- The definition of the data model in the annotated transform of the GraphQL schema.public String getTransformSchema()
The definition of the data model in the annotated transform of the GraphQL schema.
public BackendAPIResourceConfig withTransformSchema(String transformSchema)
The definition of the data model in the annotated transform of the GraphQL schema.
transformSchema
- The definition of the data model in the annotated transform of the GraphQL schema.public String toString()
toString
in class Object
Object.toString()
public BackendAPIResourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.