Interface ChangesetSummary.Builder

  • Method Details

    • changesetId

      ChangesetSummary.Builder changesetId(String changesetId)

      The unique identifier for a Changeset.

      Parameters:
      changesetId - The unique identifier for a Changeset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changesetArn

      ChangesetSummary.Builder changesetArn(String changesetArn)

      The ARN identifier of the Changeset.

      Parameters:
      changesetArn - The ARN identifier of the Changeset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetId

      ChangesetSummary.Builder datasetId(String datasetId)

      The unique identifier for the FinSpace Dataset in which the Changeset is created.

      Parameters:
      datasetId - The unique identifier for the FinSpace Dataset in which the Changeset is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changeType

      ChangesetSummary.Builder changeType(String changeType)

      Type that indicates how a Changeset is applied to a Dataset.

      • REPLACE – Changeset is considered as a replacement to all prior loaded Changesets.

      • APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets.

      • MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.

      Parameters:
      changeType - Type that indicates how a Changeset is applied to a Dataset.

      • REPLACE – Changeset is considered as a replacement to all prior loaded Changesets.

      • APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets.

      • MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • changeType

      ChangesetSummary.Builder changeType(ChangeType changeType)

      Type that indicates how a Changeset is applied to a Dataset.

      • REPLACE – Changeset is considered as a replacement to all prior loaded Changesets.

      • APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets.

      • MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.

      Parameters:
      changeType - Type that indicates how a Changeset is applied to a Dataset.

      • REPLACE – Changeset is considered as a replacement to all prior loaded Changesets.

      • APPEND – Changeset is considered as an addition to the end of all prior loaded Changesets.

      • MODIFY – Changeset is considered as a replacement to a specific prior ingested Changeset.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourceParams

      ChangesetSummary.Builder sourceParams(Map<String,String> sourceParams)

      Options that define the location of the data being ingested.

      Parameters:
      sourceParams - Options that define the location of the data being ingested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • formatParams

      ChangesetSummary.Builder formatParams(Map<String,String> formatParams)

      Options that define the structure of the source file(s).

      Parameters:
      formatParams - Options that define the structure of the source file(s).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      ChangesetSummary.Builder createTime(Long createTime)

      The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

      Parameters:
      createTime - The timestamp at which the Changeset was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Status of the Changeset ingestion.

      • PENDING – Changeset is pending creation.

      • FAILED – Changeset creation has failed.

      • SUCCESS – Changeset creation has succeeded.

      • RUNNING – Changeset creation is running.

      • STOP_REQUESTED – User requested Changeset creation to stop.

      Parameters:
      status - Status of the Changeset ingestion.

      • PENDING – Changeset is pending creation.

      • FAILED – Changeset creation has failed.

      • SUCCESS – Changeset creation has succeeded.

      • RUNNING – Changeset creation is running.

      • STOP_REQUESTED – User requested Changeset creation to stop.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Status of the Changeset ingestion.

      • PENDING – Changeset is pending creation.

      • FAILED – Changeset creation has failed.

      • SUCCESS – Changeset creation has succeeded.

      • RUNNING – Changeset creation is running.

      • STOP_REQUESTED – User requested Changeset creation to stop.

      Parameters:
      status - Status of the Changeset ingestion.

      • PENDING – Changeset is pending creation.

      • FAILED – Changeset creation has failed.

      • SUCCESS – Changeset creation has succeeded.

      • RUNNING – Changeset creation is running.

      • STOP_REQUESTED – User requested Changeset creation to stop.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorInfo

      The structure with error messages.

      Parameters:
      errorInfo - The structure with error messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      The structure with error messages.

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

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

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

      ChangesetSummary.Builder activeUntilTimestamp(Long activeUntilTimestamp)

      Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

      Parameters:
      activeUntilTimestamp - Time until which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activeFromTimestamp

      ChangesetSummary.Builder activeFromTimestamp(Long activeFromTimestamp)

      Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.

      Parameters:
      activeFromTimestamp - Beginning time from which the Changeset is active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatesChangesetId

      ChangesetSummary.Builder updatesChangesetId(String updatesChangesetId)

      The unique identifier of the Changeset that is updated.

      Parameters:
      updatesChangesetId - The unique identifier of the Changeset that is updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedByChangesetId

      ChangesetSummary.Builder updatedByChangesetId(String updatedByChangesetId)

      The unique identifier of the updated Changeset.

      Parameters:
      updatedByChangesetId - The unique identifier of the updated Changeset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.