Class Credential.Builder

  • Enclosing class:
    Credential

    public static class Credential.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        public Credential.Builder key​(String key)
        Name of the credential
        Parameters:
        key - the value to set
        Returns:
        this builder
      • userName

        public Credential.Builder userName​(String userName)
        Name of the user that will be used to log in to the remote database or the remote or local operating system
        Parameters:
        userName - the value to set
        Returns:
        this builder
      • windowsDomain

        public Credential.Builder windowsDomain​(String windowsDomain)
        For a Windows target, the Windows domain to use when logging in
        Parameters:
        windowsDomain - the value to set
        Returns:
        this builder
      • enabled

        public Credential.Builder enabled​(String enabled)
        Indicates whether this credential is enabled (TRUE) or not (FALSE)
        Parameters:
        enabled - the value to set
        Returns:
        this builder
      • keyType

        public Credential.Builder keyType​(CredentialKeyType keyType)
        Indicates whether this refers to a public synonym or not.
        Parameters:
        keyType - the value to set
        Returns:
        this builder
      • owner

        public Credential.Builder owner​(String owner)
        Owner of the credential
        Parameters:
        owner - the value to set
        Returns:
        this builder