@Generated(value="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. Client VPN supports Active Directory and mutual authentication. For more information, see Authentication in the AWS Client VPN Administrator Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
ClientVpnAuthenticationRequest.Builder |
Modifier and Type | Method and Description |
---|---|
DirectoryServiceAuthenticationRequest |
activeDirectory()
Information about the Active Directory to be used, if applicable.
|
static ClientVpnAuthenticationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CertificateAuthenticationRequest |
mutualAuthentication()
Information about the authentication certificates to be used, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ClientVpnAuthenticationRequest.Builder> |
serializableBuilderClass() |
ClientVpnAuthenticationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ClientVpnAuthenticationType |
type()
The type of client authentication to be used.
|
String |
typeAsString()
The type of client authentication to be used.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public ClientVpnAuthenticationType type()
The type of client authentication to be used. Specify certificate-authentication
to use
certificate-based authentication, or directory-service-authentication
to use Active Directory
authentication.
If the service returns an enum value that is not available in the current SDK version, type
will return
ClientVpnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from typeAsString()
.
certificate-authentication
to use
certificate-based authentication, or directory-service-authentication
to use Active
Directory authentication.ClientVpnAuthenticationType
public String typeAsString()
The type of client authentication to be used. Specify certificate-authentication
to use
certificate-based authentication, or directory-service-authentication
to use Active Directory
authentication.
If the service returns an enum value that is not available in the current SDK version, type
will return
ClientVpnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from typeAsString()
.
certificate-authentication
to use
certificate-based authentication, or directory-service-authentication
to use Active
Directory authentication.ClientVpnAuthenticationType
public DirectoryServiceAuthenticationRequest activeDirectory()
Information about the Active Directory to be used, if applicable. You must provide this information if
Type is directory-service-authentication
.
directory-service-authentication
.public CertificateAuthenticationRequest mutualAuthentication()
Information about the authentication certificates to be used, if applicable. You must provide this information if
Type is certificate-authentication
.
certificate-authentication
.public ClientVpnAuthenticationRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>
public static ClientVpnAuthenticationRequest.Builder builder()
public static Class<? extends ClientVpnAuthenticationRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.