Interface DescribeDatasetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>,IoTSiteWiseResponse.Builder,SdkBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeDatasetResponse
public static interface DescribeDatasetResponse.Builder extends IoTSiteWiseResponse.Builder, SdkPojo, CopyableBuilder<DescribeDatasetResponse.Builder,DescribeDatasetResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
datasetId
DescribeDatasetResponse.Builder datasetId(String datasetId)
The ID of the dataset.
- Parameters:
datasetId- The ID of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
DescribeDatasetResponse.Builder datasetArn(String datasetArn)
The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Parameters:
datasetArn- 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.
-
datasetName
DescribeDatasetResponse.Builder datasetName(String 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.
-
datasetDescription
DescribeDatasetResponse.Builder datasetDescription(String datasetDescription)
A description about the dataset, and its functionality.
- Parameters:
datasetDescription- A description about the dataset, and its functionality.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetSource
DescribeDatasetResponse.Builder datasetSource(DatasetSource datasetSource)
The data source for the dataset.
- Parameters:
datasetSource- The data source for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetSource
default DescribeDatasetResponse.Builder datasetSource(Consumer<DatasetSource.Builder> datasetSource)
The data source for the dataset.
This is a convenience method that creates an instance of theDatasetSource.Builderavoiding the need to create one manually viaDatasetSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatasetSource(DatasetSource).- Parameters:
datasetSource- a consumer that will call methods onDatasetSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
datasetSource(DatasetSource)
-
datasetStatus
DescribeDatasetResponse.Builder datasetStatus(DatasetStatus datasetStatus)
The status of the dataset. This contains the state and any error messages. State is
CREATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen ready to use.- Parameters:
datasetStatus- The status of the dataset. This contains the state and any error messages. State isCREATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetStatus
default DescribeDatasetResponse.Builder datasetStatus(Consumer<DatasetStatus.Builder> datasetStatus)
The status of the dataset. This contains the state and any error messages. State is
This is a convenience method that creates an instance of theCREATINGafter a successfull call to this API, and any associated error message. The state isACTIVEwhen 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 todatasetStatus(DatasetStatus).- Parameters:
datasetStatus- 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:
datasetStatus(DatasetStatus)
-
datasetCreationDate
DescribeDatasetResponse.Builder datasetCreationDate(Instant datasetCreationDate)
The dataset creation date, in Unix epoch time.
- Parameters:
datasetCreationDate- The dataset creation date, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetLastUpdateDate
DescribeDatasetResponse.Builder datasetLastUpdateDate(Instant datasetLastUpdateDate)
The date the dataset was last updated, in Unix epoch time.
- Parameters:
datasetLastUpdateDate- 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.
-
datasetVersion
DescribeDatasetResponse.Builder datasetVersion(String datasetVersion)
The version of the dataset.
- Parameters:
datasetVersion- The version of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-