Interface TargetDomain.Builder

  • Method Details

    • targetDomainId

      TargetDomain.Builder targetDomainId(String targetDomainId)

      The unique identifier of the target domain.

      Parameters:
      targetDomainId - The unique identifier of the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainName

      TargetDomain.Builder domainName(String domainName)

      The domain name of the target domain.

      Parameters:
      domainName - The domain name of the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationStatus

      TargetDomain.Builder verificationStatus(String verificationStatus)

      The current verification status of the target domain.

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

      TargetDomain.Builder verificationStatus(TargetDomainStatus verificationStatus)

      The current verification status of the target domain.

      Parameters:
      verificationStatus - The current verification status of the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationStatusReason

      TargetDomain.Builder verificationStatusReason(String verificationStatusReason)

      The reason for the current target domain verification status.

      Parameters:
      verificationStatusReason - The reason for the current target domain verification status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationDetails

      TargetDomain.Builder verificationDetails(VerificationDetails verificationDetails)

      The verification details for the target domain.

      Parameters:
      verificationDetails - The verification details for the target domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationDetails

      default TargetDomain.Builder verificationDetails(Consumer<VerificationDetails.Builder> verificationDetails)

      The verification details for the target domain.

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

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

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

      TargetDomain.Builder createdAt(Instant createdAt)

      The date and time the target domain was created, in UTC format.

      Parameters:
      createdAt - The date and time the target domain was created, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verifiedAt

      TargetDomain.Builder verifiedAt(Instant verifiedAt)

      The date and time the target domain was verified, in UTC format.

      Parameters:
      verifiedAt - The date and time the target domain was verified, in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.