Interface ClientVpnAuthentication.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClientVpnAuthentication.Builder,ClientVpnAuthentication>,SdkBuilder<ClientVpnAuthentication.Builder,ClientVpnAuthentication>,SdkPojo
- Enclosing class:
- ClientVpnAuthentication
@Mutable @NotThreadSafe public static interface ClientVpnAuthentication.Builder extends SdkPojo, CopyableBuilder<ClientVpnAuthentication.Builder,ClientVpnAuthentication>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClientVpnAuthentication.BuilderactiveDirectory(Consumer<DirectoryServiceAuthentication.Builder> activeDirectory)Information about the Active Directory, if applicable.ClientVpnAuthentication.BuilderactiveDirectory(DirectoryServiceAuthentication activeDirectory)Information about the Active Directory, if applicable.default ClientVpnAuthentication.BuilderfederatedAuthentication(Consumer<FederatedAuthentication.Builder> federatedAuthentication)Information about the IAM SAML identity provider, if applicable.ClientVpnAuthentication.BuilderfederatedAuthentication(FederatedAuthentication federatedAuthentication)Information about the IAM SAML identity provider, if applicable.default ClientVpnAuthentication.BuildermutualAuthentication(Consumer<CertificateAuthentication.Builder> mutualAuthentication)Information about the authentication certificates, if applicable.ClientVpnAuthentication.BuildermutualAuthentication(CertificateAuthentication mutualAuthentication)Information about the authentication certificates, if applicable.ClientVpnAuthentication.Buildertype(String type)The authentication type used.ClientVpnAuthentication.Buildertype(ClientVpnAuthenticationType type)The authentication type 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
ClientVpnAuthentication.Builder type(String type)
The authentication type used.
- Parameters:
type- The authentication type used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClientVpnAuthenticationType,ClientVpnAuthenticationType
-
type
ClientVpnAuthentication.Builder type(ClientVpnAuthenticationType type)
The authentication type used.
- Parameters:
type- The authentication type used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClientVpnAuthenticationType,ClientVpnAuthenticationType
-
activeDirectory
ClientVpnAuthentication.Builder activeDirectory(DirectoryServiceAuthentication activeDirectory)
Information about the Active Directory, if applicable.
- Parameters:
activeDirectory- Information about the Active Directory, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activeDirectory
default ClientVpnAuthentication.Builder activeDirectory(Consumer<DirectoryServiceAuthentication.Builder> activeDirectory)
Information about the Active Directory, if applicable.
This is a convenience method that creates an instance of theDirectoryServiceAuthentication.Builderavoiding the need to create one manually viaDirectoryServiceAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactiveDirectory(DirectoryServiceAuthentication).- Parameters:
activeDirectory- a consumer that will call methods onDirectoryServiceAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
activeDirectory(DirectoryServiceAuthentication)
-
mutualAuthentication
ClientVpnAuthentication.Builder mutualAuthentication(CertificateAuthentication mutualAuthentication)
Information about the authentication certificates, if applicable.
- Parameters:
mutualAuthentication- Information about the authentication certificates, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutualAuthentication
default ClientVpnAuthentication.Builder mutualAuthentication(Consumer<CertificateAuthentication.Builder> mutualAuthentication)
Information about the authentication certificates, if applicable.
This is a convenience method that creates an instance of theCertificateAuthentication.Builderavoiding the need to create one manually viaCertificateAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomutualAuthentication(CertificateAuthentication).- Parameters:
mutualAuthentication- a consumer that will call methods onCertificateAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mutualAuthentication(CertificateAuthentication)
-
federatedAuthentication
ClientVpnAuthentication.Builder federatedAuthentication(FederatedAuthentication federatedAuthentication)
Information about the IAM SAML identity provider, if applicable.
- Parameters:
federatedAuthentication- Information about the IAM SAML identity provider, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
federatedAuthentication
default ClientVpnAuthentication.Builder federatedAuthentication(Consumer<FederatedAuthentication.Builder> federatedAuthentication)
Information about the IAM SAML identity provider, if applicable.
This is a convenience method that creates an instance of theFederatedAuthentication.Builderavoiding the need to create one manually viaFederatedAuthentication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofederatedAuthentication(FederatedAuthentication).- Parameters:
federatedAuthentication- a consumer that will call methods onFederatedAuthentication.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
federatedAuthentication(FederatedAuthentication)
-
-