Class KerberosPasswordCredentials
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.DatastoreCredentials
-
- com.azure.resourcemanager.machinelearning.models.KerberosPasswordCredentials
-
public final class KerberosPasswordCredentials extends DatastoreCredentials
The KerberosPasswordCredentials model.
-
-
Constructor Summary
Constructors Constructor Description KerberosPasswordCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
kerberosKdcAddress()
Get the kerberosKdcAddress property: [Required] IP Address or DNS HostName.String
kerberosPrincipal()
Get the kerberosPrincipal property: [Required] Kerberos Username.String
kerberosRealm()
Get the kerberosRealm property: [Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.KerberosPasswordSecrets
secrets()
Get the secrets property: [Required] Kerberos password secrets.void
validate()
Validates the instance.KerberosPasswordCredentials
withKerberosKdcAddress(String kerberosKdcAddress)
Set the kerberosKdcAddress property: [Required] IP Address or DNS HostName.KerberosPasswordCredentials
withKerberosPrincipal(String kerberosPrincipal)
Set the kerberosPrincipal property: [Required] Kerberos Username.KerberosPasswordCredentials
withKerberosRealm(String kerberosRealm)
Set the kerberosRealm property: [Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.KerberosPasswordCredentials
withSecrets(KerberosPasswordSecrets secrets)
Set the secrets property: [Required] Kerberos password secrets.
-
-
-
Method Detail
-
secrets
public KerberosPasswordSecrets secrets()
Get the secrets property: [Required] Kerberos password secrets.- Returns:
- the secrets value.
-
withSecrets
public KerberosPasswordCredentials withSecrets(KerberosPasswordSecrets secrets)
Set the secrets property: [Required] Kerberos password secrets.- Parameters:
secrets
- the secrets value to set.- Returns:
- the KerberosPasswordCredentials object itself.
-
kerberosKdcAddress
public String kerberosKdcAddress()
Get the kerberosKdcAddress property: [Required] IP Address or DNS HostName.- Returns:
- the kerberosKdcAddress value.
-
withKerberosKdcAddress
public KerberosPasswordCredentials withKerberosKdcAddress(String kerberosKdcAddress)
Set the kerberosKdcAddress property: [Required] IP Address or DNS HostName.- Parameters:
kerberosKdcAddress
- the kerberosKdcAddress value to set.- Returns:
- the KerberosPasswordCredentials object itself.
-
kerberosPrincipal
public String kerberosPrincipal()
Get the kerberosPrincipal property: [Required] Kerberos Username.- Returns:
- the kerberosPrincipal value.
-
withKerberosPrincipal
public KerberosPasswordCredentials withKerberosPrincipal(String kerberosPrincipal)
Set the kerberosPrincipal property: [Required] Kerberos Username.- Parameters:
kerberosPrincipal
- the kerberosPrincipal value to set.- Returns:
- the KerberosPasswordCredentials object itself.
-
kerberosRealm
public String kerberosRealm()
Get the kerberosRealm property: [Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.- Returns:
- the kerberosRealm value.
-
withKerberosRealm
public KerberosPasswordCredentials withKerberosRealm(String kerberosRealm)
Set the kerberosRealm property: [Required] Domain over which a Kerberos authentication server has the authority to authenticate a user, host or service.- Parameters:
kerberosRealm
- the kerberosRealm value to set.- Returns:
- the KerberosPasswordCredentials object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classDatastoreCredentials
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-