JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.amplifybackend.model

Class BackendAPIResourceConfig

    • Constructor Detail

      • BackendAPIResourceConfig

        public BackendAPIResourceConfig()
    • Method Detail

      • getAdditionalAuthTypes

        public List<BackendAPIAuthType> getAdditionalAuthTypes()

        Additional authentication methods used to interact with your data models.

        Returns:
        Additional authentication methods used to interact with your data models.
      • setAdditionalAuthTypes

        public void setAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)

        Additional authentication methods used to interact with your data models.

        Parameters:
        additionalAuthTypes - Additional authentication methods used to interact with your data models.
      • withAdditionalAuthTypes

        public BackendAPIResourceConfig withAdditionalAuthTypes(Collection<BackendAPIAuthType> additionalAuthTypes)

        Additional authentication methods used to interact with your data models.

        Parameters:
        additionalAuthTypes - Additional authentication methods used to interact with your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setApiName

        public void setApiName(String apiName)

        The API name used to interact with the data model, configured as a part of your Amplify project.

        Parameters:
        apiName - The API name used to interact with the data model, configured as a part of your Amplify project.
      • getApiName

        public String getApiName()

        The API name used to interact with the data model, configured as a part of your Amplify project.

        Returns:
        The API name used to interact with the data model, configured as a part of your Amplify project.
      • withApiName

        public BackendAPIResourceConfig withApiName(String apiName)

        The API name used to interact with the data model, configured as a part of your Amplify project.

        Parameters:
        apiName - The API name used to interact with the data model, configured as a part of your Amplify project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setConflictResolution

        public void setConflictResolution(BackendAPIConflictResolution conflictResolution)

        The conflict resolution strategy for your data stored in the data models.

        Parameters:
        conflictResolution - The conflict resolution strategy for your data stored in the data models.
      • getConflictResolution

        public BackendAPIConflictResolution getConflictResolution()

        The conflict resolution strategy for your data stored in the data models.

        Returns:
        The conflict resolution strategy for your data stored in the data models.
      • withConflictResolution

        public BackendAPIResourceConfig withConflictResolution(BackendAPIConflictResolution conflictResolution)

        The conflict resolution strategy for your data stored in the data models.

        Parameters:
        conflictResolution - The conflict resolution strategy for your data stored in the data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDefaultAuthType

        public void setDefaultAuthType(BackendAPIAuthType defaultAuthType)

        The default authentication type for interacting with the configured data models in your Amplify project.

        Parameters:
        defaultAuthType - The default authentication type for interacting with the configured data models in your Amplify project.
      • getDefaultAuthType

        public BackendAPIAuthType getDefaultAuthType()

        The default authentication type for interacting with the configured data models in your Amplify project.

        Returns:
        The default authentication type for interacting with the configured data models in your Amplify project.
      • withDefaultAuthType

        public BackendAPIResourceConfig withDefaultAuthType(BackendAPIAuthType defaultAuthType)

        The default authentication type for interacting with the configured data models in your Amplify project.

        Parameters:
        defaultAuthType - The default authentication type for interacting with the configured data models in your Amplify project.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setService

        public void setService(String service)

        The service used to provision and interact with the data model.

        Parameters:
        service - The service used to provision and interact with the data model.
      • getService

        public String getService()

        The service used to provision and interact with the data model.

        Returns:
        The service used to provision and interact with the data model.
      • withService

        public BackendAPIResourceConfig withService(String service)

        The service used to provision and interact with the data model.

        Parameters:
        service - The service used to provision and interact with the data model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTransformSchema

        public void setTransformSchema(String transformSchema)

        The definition of the data model in the annotated transform of the GraphQL schema.

        Parameters:
        transformSchema - The definition of the data model in the annotated transform of the GraphQL schema.
      • getTransformSchema

        public String getTransformSchema()

        The definition of the data model in the annotated transform of the GraphQL schema.

        Returns:
        The definition of the data model in the annotated transform of the GraphQL schema.
      • withTransformSchema

        public BackendAPIResourceConfig withTransformSchema(String transformSchema)

        The definition of the data model in the annotated transform of the GraphQL schema.

        Parameters:
        transformSchema - The definition of the data model in the annotated transform of the GraphQL schema.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /