Interface ContactVersion.Builder

  • Method Details

    • versionId

      ContactVersion.Builder versionId(Integer versionId)

      Version ID of a contact.

      Parameters:
      versionId - Version ID of a contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • created

      ContactVersion.Builder created(Instant created)

      Time the contact version was created in UTC.

      Parameters:
      created - Time the contact version was created in UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activated

      ContactVersion.Builder activated(Instant activated)

      Time the contact version was activated in UTC. A version is activated when it becomes the current active version of the contact.

      Parameters:
      activated - Time the contact version was activated in UTC. A version is activated when it becomes the current active version of the contact.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • superseded

      ContactVersion.Builder superseded(Instant superseded)

      Time the contact version was superseded in UTC. A version is superseded when a newer version becomes active.

      Parameters:
      superseded - Time the contact version was superseded in UTC. A version is superseded when a newer version becomes active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdated

      ContactVersion.Builder lastUpdated(Instant lastUpdated)

      Time the contact version was last updated in UTC.

      Parameters:
      lastUpdated - Time the contact version was last updated in UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status of the contact version.

      Parameters:
      status - Status of the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of the contact version.

      Parameters:
      status - Status of the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureCodesWithStrings

      ContactVersion.Builder failureCodesWithStrings(Collection<String> failureCodes)

      List of failure codes for the contact version.

      Parameters:
      failureCodes - List of failure codes for the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCodesWithStrings

      ContactVersion.Builder failureCodesWithStrings(String... failureCodes)

      List of failure codes for the contact version.

      Parameters:
      failureCodes - List of failure codes for the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCodes

      List of failure codes for the contact version.

      Parameters:
      failureCodes - List of failure codes for the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCodes

      ContactVersion.Builder failureCodes(VersionFailureReasonCode... failureCodes)

      List of failure codes for the contact version.

      Parameters:
      failureCodes - List of failure codes for the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMessage

      ContactVersion.Builder failureMessage(String failureMessage)

      Failure message for the contact version.

      Parameters:
      failureMessage - Failure message for the contact version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.