IdentitySource Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.IdentitySource

Implements

public final class IdentitySource
implements JsonSerializable<IdentitySource>

vCenter Single Sign On Identity Source.

Constructor Summary

Constructor Description
IdentitySource()

Creates an instance of IdentitySource class.

Method Summary

Modifier and Type Method and 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.

static IdentitySource fromJson(JsonReader jsonReader)

Reads an instance of IdentitySource from the JsonReader.

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).

JsonWriter toJson(JsonWriter jsonWriter)
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.

Methods inherited from java.lang.Object

Constructor Details

IdentitySource

public IdentitySource()

Creates an instance of IdentitySource class.

Method Details

alias

public String alias()

Get the alias property: The domain's NetBIOS name.

Returns:

the alias value.

baseGroupDN

public String baseGroupDN()

Get the baseGroupDN property: The base distinguished name for groups.

Returns:

the baseGroupDN value.

baseUserDN

public String baseUserDN()

Get the baseUserDN property: The base distinguished name for users.

Returns:

the baseUserDN value.

domain

public String domain()

Get the domain property: The domain's dns name.

Returns:

the domain value.

fromJson

public static IdentitySource fromJson(JsonReader jsonReader)

Reads an instance of IdentitySource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of IdentitySource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the IdentitySource.

name

public String name()

Get the name property: The name of the identity source.

Returns:

the name value.

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.

primaryServer

public String primaryServer()

Get the primaryServer property: Primary server URL.

Returns:

the primaryServer value.

secondaryServer

public String secondaryServer()

Get the secondaryServer property: Secondary server URL.

Returns:

the secondaryServer value.

ssl

public SslEnum ssl()

Get the ssl property: Protect LDAP communication using SSL certificate (LDAPS).

Returns:

the ssl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Applies to