Class IdentityProviderDetails
- java.lang.Object
-
- software.amazon.awssdk.services.transfer.model.IdentityProviderDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdentityProviderDetails.Builder,IdentityProviderDetails>
@Generated("software.amazon.awssdk:codegen") public final class IdentityProviderDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdentityProviderDetails.Builder,IdentityProviderDetails>
Returns information related to the type of user authentication that is in use for a file transfer protocol-enabled server's users. A server can have only one method of authentication.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIdentityProviderDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdentityProviderDetails.Builderbuilder()StringdirectoryId()The identifier of the Directory Service directory that you want to use as your identity provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfunction()The ARN for a Lambda function to use for the Identity provider.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinvocationRole()This parameter is only applicable if yourIdentityProviderTypeisAPI_GATEWAY.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends IdentityProviderDetails.Builder>serializableBuilderClass()SftpAuthenticationMethodssftpAuthenticationMethods()For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.StringsftpAuthenticationMethodsAsString()For SFTP-enabled servers, and for custom identity providers only, you can specify whether to authenticate using a password, SSH key pair, or both.IdentityProviderDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringurl()Provides the location of the service endpoint used to authenticate users.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
IdentityProviderTypeisAPI_GATEWAY. Provides the type ofInvocationRoleused to authenticate the user account.- Returns:
- This parameter is only applicable if your
IdentityProviderTypeisAPI_GATEWAY. Provides the type ofInvocationRoleused 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,
sftpAuthenticationMethodswill returnSftpAuthenticationMethods.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsftpAuthenticationMethodsAsString().- 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,
sftpAuthenticationMethodswill returnSftpAuthenticationMethods.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsftpAuthenticationMethodsAsString().- 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
-
-
toBuilder
public IdentityProviderDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IdentityProviderDetails.Builder,IdentityProviderDetails>
-
builder
public static IdentityProviderDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdentityProviderDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-