Interface DatasetSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetSummary.Builder,,DatasetSummary> SdkBuilder<DatasetSummary.Builder,,DatasetSummary> SdkPojo
- Enclosing class:
DatasetSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the dataset.creationDate(Instant creationDate) The dataset creation date, in Unix epoch time.datasetType(String datasetType) The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.datasetType(DatasetTypeEnum datasetType) The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.description(String description) A description about the dataset, and its functionality.default DatasetSummary.BuilderenrichmentStatus(Consumer<DatasetEnrichment.Builder> enrichmentStatus) The enrichment status of the dataset.enrichmentStatus(DatasetEnrichment enrichmentStatus) The enrichment status of the dataset.The ID of the dataset.lastUpdateDate(Instant lastUpdateDate) The date the dataset was last updated, in Unix epoch time.The name of the dataset.sourceType(String sourceType) The data source type of the dataset.sourceType(DatasetSourceType sourceType) The data source type of the dataset.default DatasetSummary.Builderstatus(Consumer<DatasetStatus.Builder> status) The status of the dataset.status(DatasetStatus status) The status of the dataset.Methods 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, sdkFields
-
Method Details
-
id
The ID of the dataset.
- Parameters:
id- The ID of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Parameters:
arn- The ARN of the dataset. The format isarn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the dataset.
- Parameters:
name- The name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description about the dataset, and its functionality.
- Parameters:
description- A description about the dataset, and its functionality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceType
The data source type of the dataset.
- Parameters:
sourceType- The data source type of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The data source type of the dataset.
- Parameters:
sourceType- The data source type of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetType
The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.
- Parameters:
datasetType- The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datasetType
The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.
- Parameters:
datasetType- The type of dataset: a session dataset, a curated dataset, or a connection to an external datasource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The dataset creation date, in Unix epoch time.
- Parameters:
creationDate- The dataset creation date, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateDate
The date the dataset was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate- The date the dataset was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the dataset. This contains the state and any error messages. The state is
ACTIVEwhen ready to use.- Parameters:
status- The status of the dataset. This contains the state and any error messages. The state isACTIVEwhen ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the dataset. This contains the state and any error messages. The state is
This is a convenience method that creates an instance of theACTIVEwhen ready to use.DatasetStatus.Builderavoiding the need to create one manually viaDatasetStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(DatasetStatus).- Parameters:
status- a consumer that will call methods onDatasetStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enrichmentStatus
The enrichment status of the dataset.
- Parameters:
enrichmentStatus- The enrichment status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enrichmentStatus
default DatasetSummary.Builder enrichmentStatus(Consumer<DatasetEnrichment.Builder> enrichmentStatus) The enrichment status of the dataset.
This is a convenience method that creates an instance of theDatasetEnrichment.Builderavoiding the need to create one manually viaDatasetEnrichment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenrichmentStatus(DatasetEnrichment).- Parameters:
enrichmentStatus- a consumer that will call methods onDatasetEnrichment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-