Interface CreateDatasetResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateDatasetResponse.Builder,,- CreateDatasetResponse> - IoTAnalyticsResponse.Builder,- SdkBuilder<CreateDatasetResponse.Builder,,- CreateDatasetResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateDatasetResponse
@Mutable
@NotThreadSafe
public static interface CreateDatasetResponse.Builder
extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<CreateDatasetResponse.Builder,CreateDatasetResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondatasetArn(String datasetArn) The ARN of the dataset.datasetName(String datasetName) The name of the dataset.default CreateDatasetResponse.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, dataset contents are kept for the dataset.retentionPeriod(RetentionPeriod retentionPeriod) How long, in days, dataset contents are kept for the dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
datasetNameThe 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.
 
- 
datasetArnThe ARN of the dataset. - Parameters:
- datasetArn- The ARN of the dataset.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retentionPeriodHow long, in days, dataset contents are kept for the dataset. - Parameters:
- retentionPeriod- How long, in days, dataset contents are kept for the dataset.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
retentionPerioddefault CreateDatasetResponse.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, dataset contents are kept for the dataset. This is a convenience method that creates an instance of theRetentionPeriod.Builderavoiding the need to create one manually viaRetentionPeriod.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretentionPeriod(RetentionPeriod).- Parameters:
- retentionPeriod- a consumer that will call methods on- RetentionPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-