Interface GetDatasetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetDatasetResponse.Builder,,GetDatasetResponse> SdkBuilder<GetDatasetResponse.Builder,,GetDatasetResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetDatasetResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the dataset was created.datasetArn(String datasetArn) The Amazon Resource Name (ARN) of the dataset.The unique identifier of the dataset.datasetName(String datasetName) The name of the dataset.datasetVersion(String datasetVersion) The resolved version: "DRAFT" (default) or the requested version number.description(String description) The description of the dataset.downloadUrl(String downloadUrl) Presigned S3 URL to download the consolidated dataset.jsonl file for the resolved version (DRAFT or published).downloadUrlExpiresAt(Instant downloadUrlExpiresAt) Expiry timestamp for downloadUrl.draftStatus(String draftStatus) Publish synchronization state.draftStatus(DraftStatus draftStatus) Publish synchronization state.exampleCount(Long exampleCount) Example count for DRAFT.failureReason(String failureReason) Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED.AWS KMS key ARN used for SSE-KMS on service S3 writes, if configured.schemaType(String schemaType) The schema type declared at create time.schemaType(DatasetSchemaType schemaType) The schema type declared at create time.The current status of the dataset.status(DatasetStatus status) The current status of the dataset.The tags associated with the dataset.The timestamp when the dataset was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
-