Class ClientVpnAuthenticationRequest
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ClientVpnAuthenticationRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>
@Generated("software.amazon.awssdk:codegen") public final class ClientVpnAuthenticationRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>
Describes the authentication method to be used by a Client VPN endpoint. For more information, see Authentication in the Client VPN Administrator Guide.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClientVpnAuthenticationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryServiceAuthenticationRequestactiveDirectory()Information about the Active Directory to be used, if applicable.static ClientVpnAuthenticationRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FederatedAuthenticationRequestfederatedAuthentication()Information about the IAM SAML identity provider to be used, if applicable.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()CertificateAuthenticationRequestmutualAuthentication()Information about the authentication certificates to be used, if applicable.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ClientVpnAuthenticationRequest.Builder>serializableBuilderClass()ClientVpnAuthenticationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ClientVpnAuthenticationTypetype()The type of client authentication to be used.StringtypeAsString()The type of client authentication to be used.-
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
-
type
public final ClientVpnAuthenticationType type()
The type of client authentication to be used.
If the service returns an enum value that is not available in the current SDK version,
typewill returnClientVpnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of client authentication to be used.
- See Also:
ClientVpnAuthenticationType
-
typeAsString
public final String typeAsString()
The type of client authentication to be used.
If the service returns an enum value that is not available in the current SDK version,
typewill returnClientVpnAuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of client authentication to be used.
- See Also:
ClientVpnAuthenticationType
-
activeDirectory
public final DirectoryServiceAuthenticationRequest activeDirectory()
Information about the Active Directory to be used, if applicable. You must provide this information if Type is
directory-service-authentication.- Returns:
- Information about the Active Directory to be used, if applicable. You must provide this information if
Type is
directory-service-authentication.
-
mutualAuthentication
public final CertificateAuthenticationRequest mutualAuthentication()
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is
certificate-authentication.- Returns:
- Information about the authentication certificates to be used, if applicable. You must provide this
information if Type is
certificate-authentication.
-
federatedAuthentication
public final FederatedAuthenticationRequest federatedAuthentication()
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is
federated-authentication.- Returns:
- Information about the IAM SAML identity provider to be used, if applicable. You must provide this
information if Type is
federated-authentication.
-
toBuilder
public ClientVpnAuthenticationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>
-
builder
public static ClientVpnAuthenticationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ClientVpnAuthenticationRequest.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
-
-