Interface KxDataviewListEntry.Builder

All Superinterfaces:
Buildable, CopyableBuilder<KxDataviewListEntry.Builder,KxDataviewListEntry>, SdkBuilder<KxDataviewListEntry.Builder,KxDataviewListEntry>, SdkPojo
Enclosing class:
KxDataviewListEntry

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

    • environmentId

      KxDataviewListEntry.Builder environmentId(String environmentId)

      A unique identifier for the kdb environment.

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

      KxDataviewListEntry.Builder databaseName(String databaseName)

      A unique identifier of the database.

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

      KxDataviewListEntry.Builder dataviewName(String dataviewName)

      A unique identifier of the dataview.

      Parameters:
      dataviewName - A unique identifier of 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

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

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

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

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

      KxDataviewListEntry.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 active changeset versions for the given dataview entry.

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

      KxDataviewListEntry.Builder activeVersions(KxDataviewActiveVersion... activeVersions)

      The active changeset versions for the given dataview entry.

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

      The active changeset versions for the given dataview entry.

      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 a given dataview entry.

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

      The status of a given dataview entry.

      Parameters:
      status - The status of a given dataview entry.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      KxDataviewListEntry.Builder description(String description)

      A description for the dataview list entry.

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

      KxDataviewListEntry.Builder autoUpdate(Boolean autoUpdate)

      The option to specify 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 specify 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

      KxDataviewListEntry.Builder readWrite(Boolean 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

      KxDataviewListEntry.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp at which the dataview list entry 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 list entry 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

      KxDataviewListEntry.Builder lastModifiedTimestamp(Instant lastModifiedTimestamp)

      The last time that the dataview list 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 list 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.
    • statusReason

      KxDataviewListEntry.Builder statusReason(String statusReason)

      The error message when a failed state occurs.

      Parameters:
      statusReason - The error message when a failed state occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.