Interface TargetDomain.Builder

  • Method Details

    • targetDomainId

      TargetDomain.Builder targetDomainId(String targetDomainId)

      Unique identifier of the target domain

      Parameters:
      targetDomainId - 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)

      Name of the registered target domain

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

      TargetDomain.Builder verificationStatus(String verificationStatus)

      Current verification status of the registered target domain

      Parameters:
      verificationStatus - Current verification status of the registered 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)

      Current verification status of the registered target domain

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

      TargetDomain.Builder verificationDetails(VerificationDetails verificationDetails)

      Verification details to verify registered target domain

      Parameters:
      verificationDetails - Verification details to verify registered 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)

      Verification details to verify registered 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)

      Timestamp when the target domain was registered

      Parameters:
      createdAt - Timestamp when the target domain was registered
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verifiedAt

      TargetDomain.Builder verifiedAt(Instant verifiedAt)

      Timestamp when the target domain was last successfully verified

      Parameters:
      verifiedAt - Timestamp when the target domain was last successfully verified
      Returns:
      Returns a reference to this object so that method calls can be chained together.