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 Amazon S3 URL to download the consolidated dataset file for the resolved version.downloadUrlExpiresAt(Instant downloadUrlExpiresAt) Expiry timestamp for the download URL.draftStatus(String draftStatus) Publish synchronization state.draftStatus(DraftStatus draftStatus) Publish synchronization state.exampleCount(Long exampleCount) The number of examples in the DRAFT.failureReason(String failureReason) Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED.KMS key ARN used for server-side encryption on service Amazon 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 is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version.
- Parameters:
draftStatus- Publish synchronization state. Only authoritative when status is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version.- 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 is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version.
- Parameters:
draftStatus- Publish synchronization state. Only authoritative when status is ACTIVE. MODIFIED indicates DRAFT has unpublished changes. UNMODIFIED indicates DRAFT matches the latest published version.- 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. Describes the reason for the failure.
- Parameters:
failureReason- Populated when status is CREATE_FAILED, UPDATE_FAILED, or DELETE_FAILED. Describes the reason for the failure.- 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
KMS key ARN used for server-side encryption on service Amazon S3 writes, if configured.
- Parameters:
kmsKeyArn- KMS key ARN used for server-side encryption on service Amazon S3 writes, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exampleCount
The number of examples in the DRAFT.
- Parameters:
exampleCount- The number of examples in the DRAFT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadUrl
Presigned Amazon S3 URL to download the consolidated dataset file for the resolved version. Expires after 5 minutes. Omitted if the file does not yet exist.
- Parameters:
downloadUrl- Presigned Amazon S3 URL to download the consolidated dataset file for the resolved version. Expires after 5 minutes. Omitted if the file does not yet exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadUrlExpiresAt
Expiry timestamp for the download URL.
- Parameters:
downloadUrlExpiresAt- Expiry timestamp for the download URL.- 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.
-