Interface TrustedAccessProgramSummary.Builder

  • Method Details

    • programId

      Identifier of the trusted access program.

      Parameters:
      programId - Identifier of the trusted access program.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Display name of the program.

      Parameters:
      name - Display name of the program.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      TrustedAccessProgramSummary.Builder description(String description)

      Description of the program and its effects on model access or data handling.

      Parameters:
      description - Description of the program and its effects on model access or data handling.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • providerName

      TrustedAccessProgramSummary.Builder providerName(String providerName)

      Name of the model provider offering the program.

      Parameters:
      providerName - Name of the model provider offering the program.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detailsUrl

      URL with program details, terms, and instructions for obtaining access.

      Parameters:
      detailsUrl - URL with program details, terms, and instructions for obtaining access.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enrollmentUrl

      TrustedAccessProgramSummary.Builder enrollmentUrl(String enrollmentUrl)

      Provider application intake URL. Omitted when the program has no customer-facing intake URL.

      Parameters:
      enrollmentUrl - Provider application intake URL. Omitted when the program has no customer-facing intake URL.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Participation status resolved for the account and optional project context.

      Parameters:
      status - Participation status resolved for the account and optional project context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Participation status resolved for the account and optional project context.

      Parameters:
      status - Participation status resolved for the account and optional project context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      TrustedAccessProgramSummary.Builder statusReason(String statusReason)

      Nonempty explanation for requestable or revoked status. Omitted for other statuses.

      Parameters:
      statusReason - Nonempty explanation for requestable or revoked status. Omitted for other statuses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.

      Parameters:
      source - Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.

      Parameters:
      source - Scope deciding the status. This can differ from the scope supplying the resolved opt-in preference and enrollment timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eligibilityScope

      TrustedAccessProgramSummary.Builder eligibilityScope(String eligibilityScope)

      Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.

      Parameters:
      eligibilityScope - Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • eligibilityScope

      Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.

      Parameters:
      eligibilityScope - Scope supplying the applicable approval or most-specific revocation. Omitted when no approval or revocation applies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resolvedFor

      Account and optional project context for which participation was resolved.

      Parameters:
      resolvedFor - Account and optional project context for which participation was resolved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolvedFor

      Account and optional project context for which participation was resolved.

      This is a convenience method that creates an instance of the TrustedAccessResolutionContext.Builder avoiding the need to create one manually via TrustedAccessResolutionContext.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resolvedFor(TrustedAccessResolutionContext).

      Parameters:
      resolvedFor - a consumer that will call methods on TrustedAccessResolutionContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optIn

      Resolved customer preference, preserved independently of eligibility, including while revoked.

      Parameters:
      optIn - Resolved customer preference, preserved independently of eligibility, including while revoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optIn

      Resolved customer preference, preserved independently of eligibility, including while revoked.

      Parameters:
      optIn - Resolved customer preference, preserved independently of eligibility, including while revoked.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      Last change to the enrollment supplying the resolved opt-in. Present for enabled or disabled, including while revoked; omitted for inherit.

      Parameters:
      updatedAt - Last change to the enrollment supplying the resolved opt-in. Present for enabled or disabled, including while revoked; omitted for inherit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.