Interface DatasetSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetSummary.Builder,DatasetSummary>,SdkBuilder<DatasetSummary.Builder,DatasetSummary>,SdkPojo
- Enclosing class:
- DatasetSummary
public static interface DatasetSummary.Builder extends SdkPojo, CopyableBuilder<DatasetSummary.Builder,DatasetSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetSummary.Builderarn(String arn)The ARN of the dataset.DatasetSummary.BuildercreationDate(Instant creationDate)The dataset creation date, in Unix epoch time.DatasetSummary.Builderdescription(String description)A description about the dataset, and its functionality.DatasetSummary.Builderid(String id)The ID of the dataset.DatasetSummary.BuilderlastUpdateDate(Instant lastUpdateDate)The date the dataset was last updated, in Unix epoch time.DatasetSummary.Buildername(String name)The name of the dataset.default DatasetSummary.Builderstatus(Consumer<DatasetStatus.Builder> status)The status of the dataset.DatasetSummary.Builderstatus(DatasetStatus status)The status of the dataset.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
DatasetSummary.Builder id(String 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
DatasetSummary.Builder arn(String 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
DatasetSummary.Builder name(String 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
DatasetSummary.Builder description(String 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
DatasetSummary.Builder creationDate(Instant 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
DatasetSummary.Builder lastUpdateDate(Instant 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
DatasetSummary.Builder status(DatasetStatus 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
default DatasetSummary.Builder status(Consumer<DatasetStatus.Builder> 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:
status(DatasetStatus)
-
-