Interface GetChangesetResponse.Builder

  • Method Details

    • changesetId

      GetChangesetResponse.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

      GetChangesetResponse.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

      GetChangesetResponse.Builder datasetId(String datasetId)

      The unique identifier for the FinSpace Dataset where the Changeset is created.

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

      GetChangesetResponse.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

      GetChangesetResponse.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

      GetChangesetResponse.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

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

      Structure of the source file(s).

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

      GetChangesetResponse.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

      The status of Changeset creation operation.

      Parameters:
      status - The status of Changeset creation operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of Changeset creation operation.

      Parameters:
      status - The status of Changeset creation operation.
      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

      GetChangesetResponse.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

      GetChangesetResponse.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

      GetChangesetResponse.Builder updatesChangesetId(String updatesChangesetId)

      The unique identifier of the Changeset that is being updated.

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

      GetChangesetResponse.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.