Class KerberosCredentials
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.KerberosCredentials
-
public class KerberosCredentials extends Object
The KerberosCredentials model.
-
-
Constructor Summary
Constructors Constructor Description KerberosCredentials()
-
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.void
validate()
Validates the instance.KerberosCredentials
withKerberosKdcAddress(String kerberosKdcAddress)
Set the kerberosKdcAddress property: [Required] IP Address or DNS HostName.KerberosCredentials
withKerberosPrincipal(String kerberosPrincipal)
Set the kerberosPrincipal property: [Required] Kerberos Username.KerberosCredentials
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.
-
-
-
Method Detail
-
kerberosKdcAddress
public String kerberosKdcAddress()
Get the kerberosKdcAddress property: [Required] IP Address or DNS HostName.- Returns:
- the kerberosKdcAddress value.
-
withKerberosKdcAddress
public KerberosCredentials withKerberosKdcAddress(String kerberosKdcAddress)
Set the kerberosKdcAddress property: [Required] IP Address or DNS HostName.- Parameters:
kerberosKdcAddress
- the kerberosKdcAddress value to set.- Returns:
- the KerberosCredentials object itself.
-
kerberosPrincipal
public String kerberosPrincipal()
Get the kerberosPrincipal property: [Required] Kerberos Username.- Returns:
- the kerberosPrincipal value.
-
withKerberosPrincipal
public KerberosCredentials withKerberosPrincipal(String kerberosPrincipal)
Set the kerberosPrincipal property: [Required] Kerberos Username.- Parameters:
kerberosPrincipal
- the kerberosPrincipal value to set.- Returns:
- the KerberosCredentials 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 KerberosCredentials 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 KerberosCredentials object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-