@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientVpnAuthenticationRequest extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
ClientVpnAuthenticationRequest() |
Modifier and Type | Method and Description |
---|---|
ClientVpnAuthenticationRequest |
clone() |
boolean |
equals(Object obj) |
DirectoryServiceAuthenticationRequest |
getActiveDirectory()
Information about the Active Directory to be used, if applicable.
|
CertificateAuthenticationRequest |
getMutualAuthentication()
Information about the authentication certificates to be used, if applicable.
|
String |
getType()
The type of client authentication to be used.
|
int |
hashCode() |
void |
setActiveDirectory(DirectoryServiceAuthenticationRequest activeDirectory)
Information about the Active Directory to be used, if applicable.
|
void |
setMutualAuthentication(CertificateAuthenticationRequest mutualAuthentication)
Information about the authentication certificates to be used, if applicable.
|
void |
setType(String type)
The type of client authentication to be used.
|
String |
toString()
Returns a string representation of this object.
|
ClientVpnAuthenticationRequest |
withActiveDirectory(DirectoryServiceAuthenticationRequest activeDirectory)
Information about the Active Directory to be used, if applicable.
|
ClientVpnAuthenticationRequest |
withMutualAuthentication(CertificateAuthenticationRequest mutualAuthentication)
Information about the authentication certificates to be used, if applicable.
|
ClientVpnAuthenticationRequest |
withType(ClientVpnAuthenticationType type)
The type of client authentication to be used.
|
ClientVpnAuthenticationRequest |
withType(String type)
The type of client authentication to be used.
|
public void setType(String 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.
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.ClientVpnAuthenticationType
public String getType()
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.
certificate-authentication
to use
certificate-based authentication, or directory-service-authentication
to use Active
Directory authentication.ClientVpnAuthenticationType
public ClientVpnAuthenticationRequest withType(String 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.
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.ClientVpnAuthenticationType
public ClientVpnAuthenticationRequest withType(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.
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.ClientVpnAuthenticationType
public void setActiveDirectory(DirectoryServiceAuthenticationRequest activeDirectory)
Information about the Active Directory to be used, if applicable. You must provide this information if
Type is directory-service-authentication
.
activeDirectory
- Information about the Active Directory to be used, if applicable. You must provide this information if
Type is directory-service-authentication
.public DirectoryServiceAuthenticationRequest getActiveDirectory()
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 ClientVpnAuthenticationRequest withActiveDirectory(DirectoryServiceAuthenticationRequest activeDirectory)
Information about the Active Directory to be used, if applicable. You must provide this information if
Type is directory-service-authentication
.
activeDirectory
- Information about the Active Directory to be used, if applicable. You must provide this information if
Type is directory-service-authentication
.public void setMutualAuthentication(CertificateAuthenticationRequest mutualAuthentication)
Information about the authentication certificates to be used, if applicable. You must provide this information if
Type is certificate-authentication
.
mutualAuthentication
- Information about the authentication certificates to be used, if applicable. You must provide this
information if Type is certificate-authentication
.public CertificateAuthenticationRequest getMutualAuthentication()
Information about the authentication certificates to be used, if applicable. You must provide this information if
Type is certificate-authentication
.
certificate-authentication
.public ClientVpnAuthenticationRequest withMutualAuthentication(CertificateAuthenticationRequest mutualAuthentication)
Information about the authentication certificates to be used, if applicable. You must provide this information if
Type is certificate-authentication
.
mutualAuthentication
- Information about the authentication certificates to be used, if applicable. You must provide this
information if Type is certificate-authentication
.public String toString()
toString
in class Object
Object.toString()
public ClientVpnAuthenticationRequest clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.