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 GetTokenResult

    • Constructor Detail

      • GetTokenResult

        public GetTokenResult()
    • Method Detail

      • setAppId

        public void setAppId(String appId)

        The app ID.

        Parameters:
        appId - The app ID.
      • getAppId

        public String getAppId()

        The app ID.

        Returns:
        The app ID.
      • withAppId

        public GetTokenResult withAppId(String appId)

        The app ID.

        Parameters:
        appId - The app ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setChallengeCode

        public void setChallengeCode(String challengeCode)

        The one-time challenge code for authenticating into the Amplify Admin UI.

        Parameters:
        challengeCode - The one-time challenge code for authenticating into the Amplify Admin UI.
      • getChallengeCode

        public String getChallengeCode()

        The one-time challenge code for authenticating into the Amplify Admin UI.

        Returns:
        The one-time challenge code for authenticating into the Amplify Admin UI.
      • withChallengeCode

        public GetTokenResult withChallengeCode(String challengeCode)

        The one-time challenge code for authenticating into the Amplify Admin UI.

        Parameters:
        challengeCode - The one-time challenge code for authenticating into the Amplify Admin UI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSessionId

        public void setSessionId(String sessionId)

        A unique ID provided when creating a new challenge token.

        Parameters:
        sessionId - A unique ID provided when creating a new challenge token.
      • getSessionId

        public String getSessionId()

        A unique ID provided when creating a new challenge token.

        Returns:
        A unique ID provided when creating a new challenge token.
      • withSessionId

        public GetTokenResult withSessionId(String sessionId)

        A unique ID provided when creating a new challenge token.

        Parameters:
        sessionId - A unique ID provided when creating a new challenge token.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTtl

        public void setTtl(String ttl)

        The expiry time for the one-time generated token code.

        Parameters:
        ttl - The expiry time for the one-time generated token code.
      • getTtl

        public String getTtl()

        The expiry time for the one-time generated token code.

        Returns:
        The expiry time for the one-time generated token code.
      • withTtl

        public GetTokenResult withTtl(String ttl)

        The expiry time for the one-time generated token code.

        Parameters:
        ttl - The expiry time for the one-time generated token code.
        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 によって変換されたページ (->オリジナル) /