Class ServicePrincipalDatastoreCredentials


  • public final class ServicePrincipalDatastoreCredentials
    extends DatastoreCredentials
    Service Principal datastore credentials configuration.
    • Constructor Detail

      • ServicePrincipalDatastoreCredentials

        public ServicePrincipalDatastoreCredentials()
    • Method Detail

      • authorityUrl

        public String authorityUrl()
        Get the authorityUrl property: Authority URL used for authentication.
        Returns:
        the authorityUrl value.
      • withAuthorityUrl

        public ServicePrincipalDatastoreCredentials withAuthorityUrl​(String authorityUrl)
        Set the authorityUrl property: Authority URL used for authentication.
        Parameters:
        authorityUrl - the authorityUrl value to set.
        Returns:
        the ServicePrincipalDatastoreCredentials object itself.
      • clientId

        public UUID clientId()
        Get the clientId property: [Required] Service principal client ID.
        Returns:
        the clientId value.
      • withClientId

        public ServicePrincipalDatastoreCredentials withClientId​(UUID clientId)
        Set the clientId property: [Required] Service principal client ID.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the ServicePrincipalDatastoreCredentials object itself.
      • resourceUrl

        public String resourceUrl()
        Get the resourceUrl property: Resource the service principal has access to.
        Returns:
        the resourceUrl value.
      • withResourceUrl

        public ServicePrincipalDatastoreCredentials withResourceUrl​(String resourceUrl)
        Set the resourceUrl property: Resource the service principal has access to.
        Parameters:
        resourceUrl - the resourceUrl value to set.
        Returns:
        the ServicePrincipalDatastoreCredentials object itself.
      • tenantId

        public UUID tenantId()
        Get the tenantId property: [Required] ID of the tenant to which the service principal belongs.
        Returns:
        the tenantId value.
      • withTenantId

        public ServicePrincipalDatastoreCredentials withTenantId​(UUID tenantId)
        Set the tenantId property: [Required] ID of the tenant to which the service principal belongs.
        Parameters:
        tenantId - the tenantId value to set.
        Returns:
        the ServicePrincipalDatastoreCredentials object itself.