Class IdentityProviderDetails

    • Method Detail

      • url

        public final String url()

        Provides the location of the service endpoint used to authenticate users.

        Returns:
        Provides the location of the service endpoint used to authenticate users.
      • invocationRole

        public final String invocationRole()

        This parameter is only applicable if your IdentityProviderType is API_GATEWAY. Provides the type of InvocationRole used to authenticate the user account.

        Returns:
        This parameter is only applicable if your IdentityProviderType is API_GATEWAY. Provides the type of InvocationRole used to authenticate the user account.
      • directoryId

        public final String directoryId()

        The identifier of the Directory Service directory that you want to use as your identity provider.

        Returns:
        The identifier of the Directory Service directory that you want to use as your identity provider.
      • function

        public final String function()

        The ARN for a Lambda function to use for the Identity provider.

        Returns:
        The ARN for a Lambda function to use for the Identity provider.
      • sftpAuthenticationMethods

        public final SftpAuthenticationMethods sftpAuthenticationMethods()

        For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.

        • PASSWORD - users must provide their password to connect.

        • PUBLIC_KEY - users must provide their private key to connect.

        • PUBLIC_KEY_OR_PASSWORD - users can authenticate with either their password or their key. This is the default value.

        • PUBLIC_KEY_AND_PASSWORD - users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.

        If the service returns an enum value that is not available in the current SDK version, sftpAuthenticationMethods will return SftpAuthenticationMethods.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sftpAuthenticationMethodsAsString().

        Returns:
        For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.

        • PASSWORD - users must provide their password to connect.

        • PUBLIC_KEY - users must provide their private key to connect.

        • PUBLIC_KEY_OR_PASSWORD - users can authenticate with either their password or their key. This is the default value.

        • PUBLIC_KEY_AND_PASSWORD - users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.

        See Also:
        SftpAuthenticationMethods
      • sftpAuthenticationMethodsAsString

        public final String sftpAuthenticationMethodsAsString()

        For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.

        • PASSWORD - users must provide their password to connect.

        • PUBLIC_KEY - users must provide their private key to connect.

        • PUBLIC_KEY_OR_PASSWORD - users can authenticate with either their password or their key. This is the default value.

        • PUBLIC_KEY_AND_PASSWORD - users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.

        If the service returns an enum value that is not available in the current SDK version, sftpAuthenticationMethods will return SftpAuthenticationMethods.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sftpAuthenticationMethodsAsString().

        Returns:
        For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.

        • PASSWORD - users must provide their password to connect.

        • PUBLIC_KEY - users must provide their private key to connect.

        • PUBLIC_KEY_OR_PASSWORD - users can authenticate with either their password or their key. This is the default value.

        • PUBLIC_KEY_AND_PASSWORD - users must provide both their private key and their password to connect. The server checks the key first, and then if the key is valid, the system prompts for a password. If the private key provided does not match the public key that is stored, authentication fails.

        See Also:
        SftpAuthenticationMethods
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final 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
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)