Class GetAccessTokenOptions

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class GetAccessTokenOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The getAccessToken options.
    • Method Detail

      • instanceName

        public java.lang.String instanceName()
        Gets the instanceName. Instance name.
        Returns:
        the instanceName
      • password

        public java.lang.String password()
        Gets the password. Password can be apikey or token or password. On sw_ent if username is ibmapikey, password is base64-encoded of "username:apikey".
        Returns:
        the password
      • username

        public java.lang.String username()
        Gets the username. Format is usertype[_username].
        Returns:
        the username
      • instanceId

        public java.lang.String instanceId()
        Gets the instanceId. Instance id.
        Returns:
        the instanceId
      • authInstanceId

        public java.lang.String authInstanceId()
        Gets the authInstanceId. Instance ID.
        Returns:
        the authInstanceId
      • setCookie

        public java.lang.Boolean setCookie()
        Gets the setCookie. If this is set to true, then cookie with that instance id is generated.
        Returns:
        the setCookie