Class GetAccessTokenOptions.Builder

  • Enclosing class:
    GetAccessTokenOptions

    public static class GetAccessTokenOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public GetAccessTokenOptions build()
        Builds a GetAccessTokenOptions.
        Returns:
        the new GetAccessTokenOptions instance
      • instanceName

        public GetAccessTokenOptions.Builder instanceName​(java.lang.String instanceName)
        Set the instanceName.
        Parameters:
        instanceName - the instanceName
        Returns:
        the GetAccessTokenOptions builder
      • password

        public GetAccessTokenOptions.Builder password​(java.lang.String password)
        Set the password.
        Parameters:
        password - the password
        Returns:
        the GetAccessTokenOptions builder
      • username

        public GetAccessTokenOptions.Builder username​(java.lang.String username)
        Set the username.
        Parameters:
        username - the username
        Returns:
        the GetAccessTokenOptions builder
      • instanceId

        public GetAccessTokenOptions.Builder instanceId​(java.lang.String instanceId)
        Set the instanceId.
        Parameters:
        instanceId - the instanceId
        Returns:
        the GetAccessTokenOptions builder
      • authInstanceId

        public GetAccessTokenOptions.Builder authInstanceId​(java.lang.String authInstanceId)
        Set the authInstanceId.
        Parameters:
        authInstanceId - the authInstanceId
        Returns:
        the GetAccessTokenOptions builder
      • setCookie

        public GetAccessTokenOptions.Builder setCookie​(java.lang.Boolean setCookie)
        Set the setCookie.
        Parameters:
        setCookie - the setCookie
        Returns:
        the GetAccessTokenOptions builder