Class IdentitySource
- java.lang.Object
-
- com.azure.resourcemanager.avs.models.IdentitySource
-
public final class IdentitySource extends Object
vCenter Single Sign On Identity Source.
-
-
Constructor Summary
Constructors Constructor Description IdentitySource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
alias()
Get the alias property: The domain's NetBIOS name.String
baseGroupDN()
Get the baseGroupDN property: The base distinguished name for groups.String
baseUserDN()
Get the baseUserDN property: The base distinguished name for users.String
domain()
Get the domain property: The domain's dns name.String
name()
Get the name property: The name of the identity source.String
password()
Get the password property: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.String
primaryServer()
Get the primaryServer property: Primary server URL.String
secondaryServer()
Get the secondaryServer property: Secondary server URL.SslEnum
ssl()
Get the ssl property: Protect LDAP communication using SSL certificate (LDAPS).String
username()
Get the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group.void
validate()
Validates the instance.IdentitySource
withAlias(String alias)
Set the alias property: The domain's NetBIOS name.IdentitySource
withBaseGroupDN(String baseGroupDN)
Set the baseGroupDN property: The base distinguished name for groups.IdentitySource
withBaseUserDN(String baseUserDN)
Set the baseUserDN property: The base distinguished name for users.IdentitySource
withDomain(String domain)
Set the domain property: The domain's dns name.IdentitySource
withName(String name)
Set the name property: The name of the identity source.IdentitySource
withPassword(String password)
Set the password property: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.IdentitySource
withPrimaryServer(String primaryServer)
Set the primaryServer property: Primary server URL.IdentitySource
withSecondaryServer(String secondaryServer)
Set the secondaryServer property: Secondary server URL.IdentitySource
withSsl(SslEnum ssl)
Set the ssl property: Protect LDAP communication using SSL certificate (LDAPS).IdentitySource
withUsername(String username)
Set the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the identity source.- Returns:
- the name value.
-
withName
public IdentitySource withName(String name)
Set the name property: The name of the identity source.- Parameters:
name
- the name value to set.- Returns:
- the IdentitySource object itself.
-
alias
public String alias()
Get the alias property: The domain's NetBIOS name.- Returns:
- the alias value.
-
withAlias
public IdentitySource withAlias(String alias)
Set the alias property: The domain's NetBIOS name.- Parameters:
alias
- the alias value to set.- Returns:
- the IdentitySource object itself.
-
domain
public String domain()
Get the domain property: The domain's dns name.- Returns:
- the domain value.
-
withDomain
public IdentitySource withDomain(String domain)
Set the domain property: The domain's dns name.- Parameters:
domain
- the domain value to set.- Returns:
- the IdentitySource object itself.
-
baseUserDN
public String baseUserDN()
Get the baseUserDN property: The base distinguished name for users.- Returns:
- the baseUserDN value.
-
withBaseUserDN
public IdentitySource withBaseUserDN(String baseUserDN)
Set the baseUserDN property: The base distinguished name for users.- Parameters:
baseUserDN
- the baseUserDN value to set.- Returns:
- the IdentitySource object itself.
-
baseGroupDN
public String baseGroupDN()
Get the baseGroupDN property: The base distinguished name for groups.- Returns:
- the baseGroupDN value.
-
withBaseGroupDN
public IdentitySource withBaseGroupDN(String baseGroupDN)
Set the baseGroupDN property: The base distinguished name for groups.- Parameters:
baseGroupDN
- the baseGroupDN value to set.- Returns:
- the IdentitySource object itself.
-
primaryServer
public String primaryServer()
Get the primaryServer property: Primary server URL.- Returns:
- the primaryServer value.
-
withPrimaryServer
public IdentitySource withPrimaryServer(String primaryServer)
Set the primaryServer property: Primary server URL.- Parameters:
primaryServer
- the primaryServer value to set.- Returns:
- the IdentitySource object itself.
-
secondaryServer
public String secondaryServer()
Get the secondaryServer property: Secondary server URL.- Returns:
- the secondaryServer value.
-
withSecondaryServer
public IdentitySource withSecondaryServer(String secondaryServer)
Set the secondaryServer property: Secondary server URL.- Parameters:
secondaryServer
- the secondaryServer value to set.- Returns:
- the IdentitySource object itself.
-
ssl
public SslEnum ssl()
Get the ssl property: Protect LDAP communication using SSL certificate (LDAPS).- Returns:
- the ssl value.
-
withSsl
public IdentitySource withSsl(SslEnum ssl)
Set the ssl property: Protect LDAP communication using SSL certificate (LDAPS).- Parameters:
ssl
- the ssl value to set.- Returns:
- the IdentitySource object itself.
-
username
public String username()
Get the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group.- Returns:
- the username value.
-
withUsername
public IdentitySource withUsername(String username)
Set the username property: The ID of an Active Directory user with a minimum of read-only access to Base DN for users and group.- Parameters:
username
- the username value to set.- Returns:
- the IdentitySource object itself.
-
password
public String password()
Get the password property: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.- Returns:
- the password value.
-
withPassword
public IdentitySource withPassword(String password)
Set the password property: The password of the Active Directory user with a minimum of read-only access to Base DN for users and groups.- Parameters:
password
- the password value to set.- Returns:
- the IdentitySource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-