Interface ClientVpnAuthenticationRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>,SdkBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>,SdkPojo
- Enclosing class:
- ClientVpnAuthenticationRequest
public static interface ClientVpnAuthenticationRequest.Builder extends SdkPojo, CopyableBuilder<ClientVpnAuthenticationRequest.Builder,ClientVpnAuthenticationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClientVpnAuthenticationRequest.BuilderactiveDirectory(Consumer<DirectoryServiceAuthenticationRequest.Builder> activeDirectory)Information about the Active Directory to be used, if applicable.ClientVpnAuthenticationRequest.BuilderactiveDirectory(DirectoryServiceAuthenticationRequest activeDirectory)Information about the Active Directory to be used, if applicable.default ClientVpnAuthenticationRequest.BuilderfederatedAuthentication(Consumer<FederatedAuthenticationRequest.Builder> federatedAuthentication)Information about the IAM SAML identity provider to be used, if applicable.ClientVpnAuthenticationRequest.BuilderfederatedAuthentication(FederatedAuthenticationRequest federatedAuthentication)Information about the IAM SAML identity provider to be used, if applicable.default ClientVpnAuthenticationRequest.BuildermutualAuthentication(Consumer<CertificateAuthenticationRequest.Builder> mutualAuthentication)Information about the authentication certificates to be used, if applicable.ClientVpnAuthenticationRequest.BuildermutualAuthentication(CertificateAuthenticationRequest mutualAuthentication)Information about the authentication certificates to be used, if applicable.ClientVpnAuthenticationRequest.Buildertype(String type)The type of client authentication to be used.ClientVpnAuthenticationRequest.Buildertype(ClientVpnAuthenticationType type)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
ClientVpnAuthenticationRequest.Builder type(String 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:
ClientVpnAuthenticationType,ClientVpnAuthenticationType
-
type
ClientVpnAuthenticationRequest.Builder type(ClientVpnAuthenticationType 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:
ClientVpnAuthenticationType,ClientVpnAuthenticationType
-
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.Builderavoiding the need to create one manually viaDirectoryServiceAuthenticationRequest.builder().When the
Consumercompletes,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:
activeDirectory(DirectoryServiceAuthenticationRequest)
-
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.Builderavoiding the need to create one manually viaCertificateAuthenticationRequest.builder().When the
Consumercompletes,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:
mutualAuthentication(CertificateAuthenticationRequest)
-
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.Builderavoiding the need to create one manually viaFederatedAuthenticationRequest.builder().When the
Consumercompletes,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:
federatedAuthentication(FederatedAuthenticationRequest)
-
-