Interface ConsentPortalSummary.Builder

  • Method Details

    • sources

      The resources served by the consent portal.

      Parameters:
      sources - The resources served by the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      The resources served by the consent portal.

      Parameters:
      sources - The resources served by the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sources

      The resources served by the consent portal.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sources(List<ConsentPortalSource>).

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

      ConsentPortalSummary.Builder consentPortalArn(String consentPortalArn)

      The Amazon Resource Name (ARN) of the consent portal.

      Parameters:
      consentPortalArn - The Amazon Resource Name (ARN) of the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • consentPortalId

      ConsentPortalSummary.Builder consentPortalId(String consentPortalId)

      The unique identifier of the consent portal.

      Parameters:
      consentPortalId - The unique identifier of the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      ConsentPortalSummary.Builder createdAt(Instant createdAt)

      The timestamp for when the consent portal was created.

      Parameters:
      createdAt - The timestamp for when the consent portal was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      ConsentPortalSummary.Builder description(String description)

      The description of the consent portal.

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

      The name of the consent portal.

      Parameters:
      name - The name of the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • portalUrl

      ConsentPortalSummary.Builder portalUrl(String portalUrl)

      The URL used to access the consent portal.

      Parameters:
      portalUrl - The URL used to access the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the consent portal.

      Parameters:
      status - The current status of the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the consent portal.

      Parameters:
      status - The current status of the consent portal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      ConsentPortalSummary.Builder updatedAt(Instant updatedAt)

      The timestamp for when the consent portal was last updated.

      Parameters:
      updatedAt - The timestamp for when the consent portal was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.