Interface ClientVpnAuthenticationRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClientVpnAuthenticationRequest.Builder,
,ClientVpnAuthenticationRequest> SdkBuilder<ClientVpnAuthenticationRequest.Builder,
,ClientVpnAuthenticationRequest> SdkPojo
- Enclosing class:
ClientVpnAuthenticationRequest
-
Method Summary
Modifier and TypeMethodDescriptionactiveDirectory
(Consumer<DirectoryServiceAuthenticationRequest.Builder> activeDirectory) Information about the Active Directory to be used, if applicable.activeDirectory
(DirectoryServiceAuthenticationRequest activeDirectory) Information about the Active Directory to be used, if applicable.federatedAuthentication
(Consumer<FederatedAuthenticationRequest.Builder> federatedAuthentication) Information about the IAM SAML identity provider to be used, if applicable.federatedAuthentication
(FederatedAuthenticationRequest federatedAuthentication) Information about the IAM SAML identity provider to be used, if applicable.mutualAuthentication
(Consumer<CertificateAuthenticationRequest.Builder> mutualAuthentication) Information about the authentication certificates to be used, if applicable.mutualAuthentication
(CertificateAuthenticationRequest mutualAuthentication) Information about the authentication certificates to be used, if applicable.The type of client authentication to be used.The type of client authentication to be used.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
type
The type of client authentication to be used.
- Parameters:
type
- The type of client authentication to be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of client authentication to be used.
- Parameters:
type
- The type of client authentication to be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activeDirectory
ClientVpnAuthenticationRequest.Builder activeDirectory(DirectoryServiceAuthenticationRequest activeDirectory) Information about the Active Directory to be used, if applicable. You must provide this information if Type is
directory-service-authentication
.- Parameters:
activeDirectory
- Information about the Active Directory to be used, if applicable. You must provide this information if Type isdirectory-service-authentication
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeDirectory
default ClientVpnAuthenticationRequest.Builder activeDirectory(Consumer<DirectoryServiceAuthenticationRequest.Builder> activeDirectory) Information about the Active Directory to be used, if applicable. You must provide this information if Type is
This is a convenience method that creates an instance of thedirectory-service-authentication
.DirectoryServiceAuthenticationRequest.Builder
avoiding the need to create one manually viaDirectoryServiceAuthenticationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactiveDirectory(DirectoryServiceAuthenticationRequest)
.- Parameters:
activeDirectory
- a consumer that will call methods onDirectoryServiceAuthenticationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mutualAuthentication
ClientVpnAuthenticationRequest.Builder mutualAuthentication(CertificateAuthenticationRequest mutualAuthentication) Information about the authentication certificates to be used, if applicable. You must provide this information if Type is
certificate-authentication
.- Parameters:
mutualAuthentication
- Information about the authentication certificates to be used, if applicable. You must provide this information if Type iscertificate-authentication
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualAuthentication
default ClientVpnAuthenticationRequest.Builder mutualAuthentication(Consumer<CertificateAuthenticationRequest.Builder> mutualAuthentication) Information about the authentication certificates to be used, if applicable. You must provide this information if Type is
This is a convenience method that creates an instance of thecertificate-authentication
.CertificateAuthenticationRequest.Builder
avoiding the need to create one manually viaCertificateAuthenticationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomutualAuthentication(CertificateAuthenticationRequest)
.- Parameters:
mutualAuthentication
- a consumer that will call methods onCertificateAuthenticationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
federatedAuthentication
ClientVpnAuthenticationRequest.Builder federatedAuthentication(FederatedAuthenticationRequest federatedAuthentication) Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is
federated-authentication
.- Parameters:
federatedAuthentication
- Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type isfederated-authentication
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
federatedAuthentication
default ClientVpnAuthenticationRequest.Builder federatedAuthentication(Consumer<FederatedAuthenticationRequest.Builder> federatedAuthentication) Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is
This is a convenience method that creates an instance of thefederated-authentication
.FederatedAuthenticationRequest.Builder
avoiding the need to create one manually viaFederatedAuthenticationRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofederatedAuthentication(FederatedAuthenticationRequest)
.- Parameters:
federatedAuthentication
- a consumer that will call methods onFederatedAuthenticationRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-