@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. For more information, see Authentication in the 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.
|
FederatedAuthenticationRequest |
getFederatedAuthentication()
Information about the IAM SAML identity provider 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 |
setFederatedAuthentication(FederatedAuthenticationRequest federatedAuthentication)
Information about the IAM SAML identity provider 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 |
withFederatedAuthentication(FederatedAuthenticationRequest federatedAuthentication)
Information about the IAM SAML identity provider 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.
type
- The type of client authentication to be used.ClientVpnAuthenticationType
public String getType()
The type of client authentication to be used.
ClientVpnAuthenticationType
public ClientVpnAuthenticationRequest withType(String type)
The type of client authentication to be used.
type
- The type of client authentication to be used.ClientVpnAuthenticationType
public ClientVpnAuthenticationRequest withType(ClientVpnAuthenticationType type)
The type of client authentication to be used.
type
- The type of client authentication to be used.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 void setFederatedAuthentication(FederatedAuthenticationRequest federatedAuthentication)
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if
Type is federated-authentication
.
federatedAuthentication
- Information about the IAM SAML identity provider to be used, if applicable. You must provide this
information if Type is federated-authentication
.public FederatedAuthenticationRequest getFederatedAuthentication()
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if
Type is federated-authentication
.
federated-authentication
.public ClientVpnAuthenticationRequest withFederatedAuthentication(FederatedAuthenticationRequest federatedAuthentication)
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if
Type is federated-authentication
.
federatedAuthentication
- Information about the IAM SAML identity provider to be used, if applicable. You must provide this
information if Type is federated-authentication
.public String toString()
toString
in class Object
Object.toString()
public ClientVpnAuthenticationRequest clone()