Interface DataViewSummary.Builder

  • Method Details

    • dataViewId

      DataViewSummary.Builder dataViewId(String dataViewId)

      The unique identifier for the Dataview.

      Parameters:
      dataViewId - The unique identifier for the Dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataViewArn

      DataViewSummary.Builder dataViewArn(String dataViewArn)

      The ARN identifier of the Dataview.

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

      DataViewSummary.Builder datasetId(String datasetId)

      Th unique identifier for the Dataview Dataset.

      Parameters:
      datasetId - Th unique identifier for the Dataview Dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • asOfTimestamp

      DataViewSummary.Builder asOfTimestamp(Long asOfTimestamp)

      Time range to use for the Dataview. 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:
      asOfTimestamp - Time range to use for the Dataview. 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.
    • partitionColumns

      DataViewSummary.Builder partitionColumns(Collection<String> partitionColumns)

      Ordered set of column names used to partition data.

      Parameters:
      partitionColumns - Ordered set of column names used to partition data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionColumns

      DataViewSummary.Builder partitionColumns(String... partitionColumns)

      Ordered set of column names used to partition data.

      Parameters:
      partitionColumns - Ordered set of column names used to partition data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortColumns

      DataViewSummary.Builder sortColumns(Collection<String> sortColumns)

      Columns to be used for sorting the data.

      Parameters:
      sortColumns - Columns to be used for sorting the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortColumns

      DataViewSummary.Builder sortColumns(String... sortColumns)

      Columns to be used for sorting the data.

      Parameters:
      sortColumns - Columns to be used for sorting the data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of a Dataview creation.

      • RUNNING – Dataview creation is running.

      • STARTING – Dataview creation is starting.

      • FAILED – Dataview creation has failed.

      • CANCELLED – Dataview creation has been cancelled.

      • TIMEOUT – Dataview creation has timed out.

      • SUCCESS – Dataview creation has succeeded.

      • PENDING – Dataview creation is pending.

      • FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.

      Parameters:
      status - The status of a Dataview creation.

      • RUNNING – Dataview creation is running.

      • STARTING – Dataview creation is starting.

      • FAILED – Dataview creation has failed.

      • CANCELLED – Dataview creation has been cancelled.

      • TIMEOUT – Dataview creation has timed out.

      • SUCCESS – Dataview creation has succeeded.

      • PENDING – Dataview creation is pending.

      • FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.

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

      The status of a Dataview creation.

      • RUNNING – Dataview creation is running.

      • STARTING – Dataview creation is starting.

      • FAILED – Dataview creation has failed.

      • CANCELLED – Dataview creation has been cancelled.

      • TIMEOUT – Dataview creation has timed out.

      • SUCCESS – Dataview creation has succeeded.

      • PENDING – Dataview creation is pending.

      • FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.

      Parameters:
      status - The status of a Dataview creation.

      • RUNNING – Dataview creation is running.

      • STARTING – Dataview creation is starting.

      • FAILED – Dataview creation has failed.

      • CANCELLED – Dataview creation has been cancelled.

      • TIMEOUT – Dataview creation has timed out.

      • SUCCESS – Dataview creation has succeeded.

      • PENDING – Dataview creation is pending.

      • FAILED_CLEANUP_FAILED – Dataview creation failed and resource cleanup failed.

      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 DataViewErrorInfo.Builder avoiding the need to create one manually via DataViewErrorInfo.builder().

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

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

      DataViewSummary.Builder destinationTypeProperties(DataViewDestinationTypeParams destinationTypeProperties)

      Information about the Dataview destination.

      Parameters:
      destinationTypeProperties - Information about the Dataview destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationTypeProperties

      default DataViewSummary.Builder destinationTypeProperties(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeProperties)

      Information about the Dataview destination.

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

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

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

      DataViewSummary.Builder autoUpdate(Boolean autoUpdate)

      The flag to indicate Dataview should be updated automatically.

      Parameters:
      autoUpdate - The flag to indicate Dataview should be updated automatically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createTime

      DataViewSummary.Builder createTime(Long createTime)

      The timestamp at which the Dataview 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 Dataview 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.
    • lastModifiedTime

      DataViewSummary.Builder lastModifiedTime(Long lastModifiedTime)

      The last time that a Dataview was modified. 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:
      lastModifiedTime - The last time that a Dataview was modified. 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.