Interface DatasetSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetSummary.Builder,,DatasetSummary> SdkBuilder<DatasetSummary.Builder,,DatasetSummary> SdkPojo
- Enclosing class:
DatasetSummary
@Mutable
@NotThreadSafe
public static interface DatasetSummary.Builder
extends SdkPojo, CopyableBuilder<DatasetSummary.Builder,DatasetSummary>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the dataset.creationDate(Instant creationDate) The dataset creation date, in Unix epoch time.description(String description) A description about the dataset, and its functionality.The ID of the dataset.lastUpdateDate(Instant lastUpdateDate) The date the dataset was last updated, in Unix epoch time.The name 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.
-
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:
-