Interface ResourceServerScopeType.Builder

    • Method Detail

      • scopeName

        ResourceServerScopeType.Builder scopeName​(String scopeName)

        The name of the scope. Amazon Cognito renders custom scopes in the format resourceServerIdentifier/ScopeName. For example, if this parameter is exampleScope in the resource server with the identifier exampleResourceServer, you request and receive the scope exampleResourceServer/exampleScope.

        Parameters:
        scopeName - The name of the scope. Amazon Cognito renders custom scopes in the format resourceServerIdentifier/ScopeName. For example, if this parameter is exampleScope in the resource server with the identifier exampleResourceServer, you request and receive the scope exampleResourceServer/exampleScope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scopeDescription

        ResourceServerScopeType.Builder scopeDescription​(String scopeDescription)

        A friendly description of a custom scope.

        Parameters:
        scopeDescription - A friendly description of a custom scope.
        Returns:
        Returns a reference to this object so that method calls can be chained together.