Class AuthDomainDigest.Builder<B extends AuthDomainDigest.Builder<B>>

Type Parameters:
B - the type of the Builder that is returned
All Implemented Interfaces:
BuilderInterface
Enclosing class:
AuthDomainDigest

public static class AuthDomainDigest.Builder<B extends AuthDomainDigest.Builder<B>> extends AuthDomain.Builder<B>
Inner class implementing a builder pattern to construct a GObject with properties.
  • Constructor Details

    • Builder

      protected Builder()
      Default constructor for a Builder object.
  • Method Details

    • build

      public AuthDomainDigest build()
      Finish building the AuthDomainDigest object. This will call GObject.withProperties(Type, String[], Value[]) to create a new GObject instance, which is then cast to AuthDomainDigest.
      Overrides:
      build in class AuthDomain.Builder<B extends AuthDomainDigest.Builder<B>>
      Returns:
      a new instance of AuthDomainDigest with the properties that were set in the Builder object.
    • setAuthCallback

      public B setAuthCallback(AuthDomainDigestAuthCallback authCallback)
      The AuthDomainDigestAuthCallback.
      Parameters:
      authCallback - the value for the auth-callback property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setAuthData

      public B setAuthData(MemorySegment authData)
      The data to pass to the AuthDomainDigestAuthCallback.
      Parameters:
      authData - the value for the auth-data property
      Returns:
      the Builder instance is returned, to allow method chaining