Interface KxDataviewActiveVersion.Builder

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

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

    • changesetId

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

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

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

      KxDataviewActiveVersion.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:
    • attachedClusters

      KxDataviewActiveVersion.Builder attachedClusters(Collection<String> attachedClusters)

      The list of clusters that are currently using this dataview.

      Parameters:
      attachedClusters - The list of clusters that are currently using this dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attachedClusters

      KxDataviewActiveVersion.Builder attachedClusters(String... attachedClusters)

      The list of clusters that are currently using this dataview.

      Parameters:
      attachedClusters - The list of clusters that are currently using this dataview.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      KxDataviewActiveVersion.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp at which the dataview version was active. 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 version was active. 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.
    • versionId

      A unique identifier of the active version.

      Parameters:
      versionId - A unique identifier of the active version.
      Returns:
      Returns a reference to this object so that method calls can be chained together.