Interface GetDataViewResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetDataViewResponse.Builder,GetDataViewResponse>, FinspaceDataResponse.Builder, SdkBuilder<GetDataViewResponse.Builder,GetDataViewResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetDataViewResponse

public static interface GetDataViewResponse.Builder extends FinspaceDataResponse.Builder, SdkPojo, CopyableBuilder<GetDataViewResponse.Builder,GetDataViewResponse>
  • Method Details

    • autoUpdate

      GetDataViewResponse.Builder autoUpdate(Boolean autoUpdate)

      Flag to indicate Dataview should be updated automatically.

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

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

      GetDataViewResponse.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.
    • datasetId

      GetDataViewResponse.Builder datasetId(String datasetId)

      The unique identifier for the Dataset used in the Dataview.

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

      GetDataViewResponse.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.
    • errorInfo

      Information about an error that occurred for the Dataview.

      Parameters:
      errorInfo - Information about an error that occurred for the Dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorInfo

      Information about an error that occurred for the Dataview.

      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:
    • lastModifiedTime

      GetDataViewResponse.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.
    • createTime

      GetDataViewResponse.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.
    • sortColumns

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

      GetDataViewResponse.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.
    • dataViewId

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

      GetDataViewResponse.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.
    • destinationTypeParams

      GetDataViewResponse.Builder destinationTypeParams(DataViewDestinationTypeParams destinationTypeParams)

      Options that define the destination type for the Dataview.

      Parameters:
      destinationTypeParams - Options that define the destination type for the Dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationTypeParams

      default GetDataViewResponse.Builder destinationTypeParams(Consumer<DataViewDestinationTypeParams.Builder> destinationTypeParams)

      Options that define the destination type for the Dataview.

      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 destinationTypeParams(DataViewDestinationTypeParams).

      Parameters:
      destinationTypeParams - 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:
    • 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: