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