public static interface CreateDatasetResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<CreateDatasetResponse.Builder,CreateDatasetResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateDatasetResponse.Builder |
datasetArn(String datasetArn)
The ARN of the data set.
|
CreateDatasetResponse.Builder |
datasetName(String datasetName)
The name of the data set.
|
default CreateDatasetResponse.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data set.
|
CreateDatasetResponse.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data set.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildCreateDatasetResponse.Builder datasetName(String datasetName)
The name of the data set.
datasetName - The name of the data set.CreateDatasetResponse.Builder datasetArn(String datasetArn)
The ARN of the data set.
datasetArn - The ARN of the data set.CreateDatasetResponse.Builder retentionPeriod(RetentionPeriod retentionPeriod)
How long, in days, message data is kept for the data set.
retentionPeriod - How long, in days, message data is kept for the data set.default CreateDatasetResponse.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
How long, in days, message data is kept for the data set.
This is a convenience that creates an instance of theRetentionPeriod.Builder avoiding the need to
create one manually via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.