Interface CreateKxDataviewResponse.Builder

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

public static interface CreateKxDataviewResponse.Builder extends FinspaceResponse.Builder, SdkPojo, CopyableBuilder<CreateKxDataviewResponse.Builder,CreateKxDataviewResponse>
  • Method Details

    • dataviewName

      CreateKxDataviewResponse.Builder dataviewName(String dataviewName)

      A unique identifier for the dataview.

      Parameters:
      dataviewName - A unique identifier for the dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseName

      CreateKxDataviewResponse.Builder databaseName(String databaseName)

      The name of the database where you want to create a dataview.

      Parameters:
      databaseName - The name of the database where you want to create a dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • environmentId

      CreateKxDataviewResponse.Builder environmentId(String environmentId)

      A unique identifier for the kdb environment, where you want to create the dataview.

      Parameters:
      environmentId - A unique identifier for the kdb environment, where you want to create the dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • azMode

      The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

      Parameters:
      azMode - The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • azMode

      The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

      Parameters:
      azMode - The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • availabilityZoneId

      CreateKxDataviewResponse.Builder availabilityZoneId(String availabilityZoneId)

      The identifier of the availability zones.

      Parameters:
      availabilityZoneId - The identifier of the availability zones.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • changesetId

      CreateKxDataviewResponse.Builder changesetId(String changesetId)

      A unique identifier for the changeset.

      Parameters:
      changesetId - A unique identifier for the changeset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentConfigurations

      CreateKxDataviewResponse.Builder segmentConfigurations(Collection<KxDataviewSegmentConfiguration> segmentConfigurations)

      The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

      Parameters:
      segmentConfigurations - The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentConfigurations

      CreateKxDataviewResponse.Builder segmentConfigurations(KxDataviewSegmentConfiguration... segmentConfigurations)

      The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

      Parameters:
      segmentConfigurations - The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentConfigurations

      CreateKxDataviewResponse.Builder segmentConfigurations(Consumer<KxDataviewSegmentConfiguration.Builder>... segmentConfigurations)

      The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to segmentConfigurations(List<KxDataviewSegmentConfiguration>).

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

      CreateKxDataviewResponse.Builder description(String description)

      A description of the dataview.

      Parameters:
      description - A description of the dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • autoUpdate

      CreateKxDataviewResponse.Builder autoUpdate(Boolean autoUpdate)

      The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.

      Parameters:
      autoUpdate - The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • readWrite

      Returns True if the dataview is created as writeable and False otherwise.

      Parameters:
      readWrite - Returns True if the dataview is created as writeable and False otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      CreateKxDataviewResponse.Builder createdTimestamp(Instant createdTimestamp)

      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:
      createdTimestamp - 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.
    • lastModifiedTimestamp

      CreateKxDataviewResponse.Builder lastModifiedTimestamp(Instant lastModifiedTimestamp)

      The last time that the dataview was updated 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:
      lastModifiedTimestamp - The last time that the dataview was updated 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 dataview creation.

      • CREATING – The dataview creation is in progress.

      • UPDATING – The dataview is in the process of being updated.

      • ACTIVE – The dataview is active.

      Parameters:
      status - The status of dataview creation.

      • CREATING – The dataview creation is in progress.

      • UPDATING – The dataview is in the process of being updated.

      • ACTIVE – The dataview is active.

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

      The status of dataview creation.

      • CREATING – The dataview creation is in progress.

      • UPDATING – The dataview is in the process of being updated.

      • ACTIVE – The dataview is active.

      Parameters:
      status - The status of dataview creation.

      • CREATING – The dataview creation is in progress.

      • UPDATING – The dataview is in the process of being updated.

      • ACTIVE – The dataview is active.

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