Interface BackendAPIAppSyncAuthSettings.Builder

    • Method Detail

      • cognitoUserPoolId

        BackendAPIAppSyncAuthSettings.Builder cognitoUserPoolId​(String cognitoUserPoolId)

        The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.

        Parameters:
        cognitoUserPoolId - The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        BackendAPIAppSyncAuthSettings.Builder description​(String description)

        The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.

        Parameters:
        description - The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expirationTime

        BackendAPIAppSyncAuthSettings.Builder expirationTime​(Double expirationTime)

        The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.

        Parameters:
        expirationTime - The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openIDAuthTTL

        BackendAPIAppSyncAuthSettings.Builder openIDAuthTTL​(String openIDAuthTTL)

        The expiry time for the OpenID authentication mechanism.

        Parameters:
        openIDAuthTTL - The expiry time for the OpenID authentication mechanism.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openIDClientId

        BackendAPIAppSyncAuthSettings.Builder openIDClientId​(String openIDClientId)

        The clientID for openID, if openID was used as an authentication setting to access your data models.

        Parameters:
        openIDClientId - The clientID for openID, if openID was used as an authentication setting to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openIDIatTTL

        BackendAPIAppSyncAuthSettings.Builder openIDIatTTL​(String openIDIatTTL)

        The expiry time for the OpenID authentication mechanism.

        Parameters:
        openIDIatTTL - The expiry time for the OpenID authentication mechanism.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openIDIssueURL

        BackendAPIAppSyncAuthSettings.Builder openIDIssueURL​(String openIDIssueURL)

        The openID issuer URL, if openID was used as an authentication setting to access your data models.

        Parameters:
        openIDIssueURL - The openID issuer URL, if openID was used as an authentication setting to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • openIDProviderName

        BackendAPIAppSyncAuthSettings.Builder openIDProviderName​(String openIDProviderName)

        The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.

        Parameters:
        openIDProviderName - The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
        Returns:
        Returns a reference to this object so that method calls can be chained together.