Interface UpdateKxDataviewResponse.Builder

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

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

    • environmentId

      UpdateKxDataviewResponse.Builder environmentId(String environmentId)

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

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

      UpdateKxDataviewResponse.Builder databaseName(String databaseName)

      The name of the database.

      Parameters:
      databaseName - The name of the database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataviewName

      UpdateKxDataviewResponse.Builder dataviewName(String dataviewName)

      The name of the database under which the dataview was created.

      Parameters:
      dataviewName - The name of the database under which the dataview was created.
      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

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

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

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

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

      UpdateKxDataviewResponse.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:
    • activeVersions

      The current active changeset versions of the database on the given dataview.

      Parameters:
      activeVersions - The current active changeset versions of the database on the given dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activeVersions

      UpdateKxDataviewResponse.Builder activeVersions(KxDataviewActiveVersion... activeVersions)

      The current active changeset versions of the database on the given dataview.

      Parameters:
      activeVersions - The current active changeset versions of the database on the given dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • activeVersions

      The current active changeset versions of the database on the given dataview.

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

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

      Parameters:
      activeVersions - a consumer that will call methods on KxDataviewActiveVersion.Builder
      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:
    • 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:
    • autoUpdate

      UpdateKxDataviewResponse.Builder autoUpdate(Boolean autoUpdate)

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

      Parameters:
      autoUpdate - The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. 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.
    • description

      UpdateKxDataviewResponse.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.
    • createdTimestamp

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

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