Interface GetDatasetResponse.Builder

  • Method Details

    • datasetArn

      GetDatasetResponse.Builder datasetArn(String datasetArn)

      The Amazon Resource Name (ARN) of the dataset.

      Parameters:
      datasetArn - The Amazon Resource Name (ARN) of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetId

      GetDatasetResponse.Builder datasetId(String datasetId)

      The unique identifier of the dataset.

      Parameters:
      datasetId - The unique identifier of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetVersion

      GetDatasetResponse.Builder datasetVersion(String datasetVersion)

      The resolved version: "DRAFT" (default) or the requested version number.

      Parameters:
      datasetVersion - The resolved version: "DRAFT" (default) or the requested version number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetName

      GetDatasetResponse.Builder datasetName(String datasetName)

      The name of the dataset.

      Parameters:
      datasetName - The name of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetDatasetResponse.Builder description(String description)

      The description of the dataset.

      Parameters:
      description - The description of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the dataset.

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

      The current status of the dataset.

      Parameters:
      status - The current status of the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • draftStatus

      GetDatasetResponse.Builder draftStatus(String draftStatus)

      Publish synchronization state. Only authoritative when status == ACTIVE. MODIFIED — DRAFT has unpublished changes (or no published versions yet). UNMODIFIED — DRAFT matches the latest published version exactly.

      Parameters:
      draftStatus - Publish synchronization state. Only authoritative when status == ACTIVE. MODIFIED — DRAFT has unpublished changes (or no published versions yet). UNMODIFIED — DRAFT matches the latest published version exactly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • draftStatus

      GetDatasetResponse.Builder draftStatus(DraftStatus draftStatus)

      Publish synchronization state. Only authoritative when status == ACTIVE. MODIFIED — DRAFT has unpublished changes (or no published versions yet). UNMODIFIED — DRAFT matches the latest published version exactly.

      Parameters:
      draftStatus - Publish synchronization state. Only authoritative when status == ACTIVE. MODIFIED — DRAFT has unpublished changes (or no published versions yet). UNMODIFIED — DRAFT matches the latest published version exactly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReason

      GetDatasetResponse.Builder failureReason(String failureReason)

      Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED.

      Parameters:
      failureReason - Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • schemaType

      GetDatasetResponse.Builder schemaType(String schemaType)

      The schema type declared at create time. Immutable after creation.

      Parameters:
      schemaType - The schema type declared at create time. Immutable after creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • schemaType

      The schema type declared at create time. Immutable after creation.

      Parameters:
      schemaType - The schema type declared at create time. Immutable after creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsKeyArn

      GetDatasetResponse.Builder kmsKeyArn(String kmsKeyArn)

      AWS KMS key ARN used for SSE-KMS on service S3 writes, if configured.

      Parameters:
      kmsKeyArn - AWS KMS key ARN used for SSE-KMS on service S3 writes, if configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • exampleCount

      GetDatasetResponse.Builder exampleCount(Long exampleCount)

      Example count for DRAFT.

      Parameters:
      exampleCount - Example count for DRAFT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • downloadUrl

      GetDatasetResponse.Builder downloadUrl(String downloadUrl)

      Presigned S3 URL to download the consolidated dataset.jsonl file for the resolved version (DRAFT or published). TTL: 5 minutes. Omitted if the file does not yet exist (e.g. during CREATING) or on presign failure.

      Parameters:
      downloadUrl - Presigned S3 URL to download the consolidated dataset.jsonl file for the resolved version (DRAFT or published). TTL: 5 minutes. Omitted if the file does not yet exist (e.g. during CREATING) or on presign failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • downloadUrlExpiresAt

      GetDatasetResponse.Builder downloadUrlExpiresAt(Instant downloadUrlExpiresAt)

      Expiry timestamp for downloadUrl.

      Parameters:
      downloadUrlExpiresAt - Expiry timestamp for downloadUrl.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetDatasetResponse.Builder createdAt(Instant createdAt)

      The timestamp when the dataset was created.

      Parameters:
      createdAt - The timestamp when the dataset was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetDatasetResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the dataset was last updated.

      Parameters:
      updatedAt - The timestamp when the dataset was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags associated with the dataset.

      Parameters:
      tags - The tags associated with the dataset.
      Returns:
      Returns a reference to this object so that method calls can be chained together.