Interface GetAddressListImportJobResponse.Builder

    • Method Detail

      • addressListId

        GetAddressListImportJobResponse.Builder addressListId​(String addressListId)

        The unique identifier of the address list the import job was created for.

        Parameters:
        addressListId - The unique identifier of the address list the import job was created for.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedTimestamp

        GetAddressListImportJobResponse.Builder completedTimestamp​(Instant completedTimestamp)

        The timestamp of when the import job was completed.

        Parameters:
        completedTimestamp - The timestamp of when the import job was completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        GetAddressListImportJobResponse.Builder createdTimestamp​(Instant createdTimestamp)

        The timestamp of when the import job was created.

        Parameters:
        createdTimestamp - The timestamp of when the import job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        GetAddressListImportJobResponse.Builder error​(String error)

        The reason for failure of an import job.

        Parameters:
        error - The reason for failure of an import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedItemsCount

        GetAddressListImportJobResponse.Builder failedItemsCount​(Integer failedItemsCount)

        The number of input addresses that failed to be imported into the address list.

        Parameters:
        failedItemsCount - The number of input addresses that failed to be imported into the address list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importDataFormat

        GetAddressListImportJobResponse.Builder importDataFormat​(ImportDataFormat importDataFormat)

        The format of the input for an import job.

        Parameters:
        importDataFormat - The format of the input for an import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importedItemsCount

        GetAddressListImportJobResponse.Builder importedItemsCount​(Integer importedItemsCount)

        The number of input addresses successfully imported into the address list.

        Parameters:
        importedItemsCount - The number of input addresses successfully imported into the address list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobId

        GetAddressListImportJobResponse.Builder jobId​(String jobId)

        The identifier of the import job.

        Parameters:
        jobId - The identifier of the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        GetAddressListImportJobResponse.Builder name​(String name)

        A user-friendly name for the import job.

        Parameters:
        name - A user-friendly name for the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preSignedUrl

        GetAddressListImportJobResponse.Builder preSignedUrl​(String preSignedUrl)

        The pre-signed URL target for uploading the input file.

        Parameters:
        preSignedUrl - The pre-signed URL target for uploading the input file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTimestamp

        GetAddressListImportJobResponse.Builder startTimestamp​(Instant startTimestamp)

        The timestamp of when the import job was started.

        Parameters:
        startTimestamp - The timestamp of when the import job was started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.