Interface DescribeStorageConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeStorageConfigurationResponse.Builder,
,DescribeStorageConfigurationResponse> IoTSiteWiseResponse.Builder
,SdkBuilder<DescribeStorageConfigurationResponse.Builder,
,DescribeStorageConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeStorageConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationStatus
(Consumer<ConfigurationStatus.Builder> configurationStatus) Sets the value of the ConfigurationStatus property for this object.configurationStatus
(ConfigurationStatus configurationStatus) Sets the value of the ConfigurationStatus property for this object.disassociatedDataStorage
(String disassociatedDataStorage) Contains the storage configuration for time series (data streams) that aren't associated with asset properties.disassociatedDataStorage
(DisassociatedDataStorageState disassociatedDataStorage) Contains the storage configuration for time series (data streams) that aren't associated with asset properties.lastUpdateDate
(Instant lastUpdateDate) The date the storage configuration was last updated, in Unix epoch time.multiLayerStorage
(Consumer<MultiLayerStorage.Builder> multiLayerStorage) Contains information about the storage destination.multiLayerStorage
(MultiLayerStorage multiLayerStorage) Contains information about the storage destination.retentionPeriod
(Consumer<RetentionPeriod.Builder> retentionPeriod) The number of days your data is kept in the hot tier.retentionPeriod
(RetentionPeriod retentionPeriod) The number of days your data is kept in the hot tier.storageType
(String storageType) The storage tier that you specified for your data.storageType
(StorageType storageType) The storage tier that you specified for your data.A service managed storage tier optimized for analytical queries.warmTier
(WarmTierState warmTier) A service managed storage tier optimized for analytical queries.warmTierRetentionPeriod
(Consumer<WarmTierRetentionPeriod.Builder> warmTierRetentionPeriod) Set this period to specify how long your data is stored in the warm tier before it is deleted.warmTierRetentionPeriod
(WarmTierRetentionPeriod warmTierRetentionPeriod) Set this period to specify how long your data is stored in the warm tier before it is deleted.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
storageType
The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
- Parameters:
storageType
- The storage tier that you specified for your data. ThestorageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
storageType
The storage tier that you specified for your data. The
storageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
- Parameters:
storageType
- The storage tier that you specified for your data. ThestorageType
parameter can be one of the following values:-
SITEWISE_DEFAULT_STORAGE
– IoT SiteWise saves your data into the hot tier. The hot tier is a service-managed database. -
MULTI_LAYER_STORAGE
– IoT SiteWise saves your data in both the cold tier and the hot tier. The cold tier is a customer-managed Amazon S3 bucket.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
multiLayerStorage
Contains information about the storage destination.
- Parameters:
multiLayerStorage
- Contains information about the storage destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiLayerStorage
default DescribeStorageConfigurationResponse.Builder multiLayerStorage(Consumer<MultiLayerStorage.Builder> multiLayerStorage) Contains information about the storage destination.
This is a convenience method that creates an instance of theMultiLayerStorage.Builder
avoiding the need to create one manually viaMultiLayerStorage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomultiLayerStorage(MultiLayerStorage)
.- Parameters:
multiLayerStorage
- a consumer that will call methods onMultiLayerStorage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disassociatedDataStorage
DescribeStorageConfigurationResponse.Builder disassociatedDataStorage(String disassociatedDataStorage) Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorage
is enabled, you can't disable it. -
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
- Parameters:
disassociatedDataStorage
- Contains the storage configuration for time series (data streams) that aren't associated with asset properties. ThedisassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorage
is enabled, you can't disable it. -
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
disassociatedDataStorage
DescribeStorageConfigurationResponse.Builder disassociatedDataStorage(DisassociatedDataStorageState disassociatedDataStorage) Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorage
is enabled, you can't disable it. -
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
- Parameters:
disassociatedDataStorage
- Contains the storage configuration for time series (data streams) that aren't associated with asset properties. ThedisassociatedDataStorage
can be one of the following values:-
ENABLED
– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorage
is enabled, you can't disable it. -
DISABLED
– IoT SiteWise doesn't accept time series (data streams) that aren't associated with asset properties.
For more information, see Data streams in the IoT SiteWise User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
retentionPeriod
The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
- Parameters:
retentionPeriod
- The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default DescribeStorageConfigurationResponse.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) The number of days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
This is a convenience method that creates an instance of theRetentionPeriod.Builder
avoiding the need to create one manually viaRetentionPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionPeriod(RetentionPeriod)
.- Parameters:
retentionPeriod
- a consumer that will call methods onRetentionPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configurationStatus
DescribeStorageConfigurationResponse.Builder configurationStatus(ConfigurationStatus configurationStatus) Sets the value of the ConfigurationStatus property for this object.- Parameters:
configurationStatus
- The new value for the ConfigurationStatus property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationStatus
default DescribeStorageConfigurationResponse.Builder configurationStatus(Consumer<ConfigurationStatus.Builder> configurationStatus) Sets the value of the ConfigurationStatus property for this object. This is a convenience method that creates an instance of theConfigurationStatus.Builder
avoiding the need to create one manually viaConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationStatus(ConfigurationStatus)
.- Parameters:
configurationStatus
- a consumer that will call methods onConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdateDate
The date the storage configuration was last updated, in Unix epoch time.
- Parameters:
lastUpdateDate
- The date the storage configuration was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmTier
A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
- Parameters:
warmTier
- A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmTier
A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.
- Parameters:
warmTier
- A service managed storage tier optimized for analytical queries. It stores periodically uploaded, buffered and historical data ingested with the CreaeBulkImportJob API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
warmTierRetentionPeriod
DescribeStorageConfigurationResponse.Builder warmTierRetentionPeriod(WarmTierRetentionPeriod warmTierRetentionPeriod) Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
- Parameters:
warmTierRetentionPeriod
- Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
warmTierRetentionPeriod
default DescribeStorageConfigurationResponse.Builder warmTierRetentionPeriod(Consumer<WarmTierRetentionPeriod.Builder> warmTierRetentionPeriod) Set this period to specify how long your data is stored in the warm tier before it is deleted. You can set this only if cold tier is enabled.
This is a convenience method that creates an instance of theWarmTierRetentionPeriod.Builder
avoiding the need to create one manually viaWarmTierRetentionPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towarmTierRetentionPeriod(WarmTierRetentionPeriod)
.- Parameters:
warmTierRetentionPeriod
- a consumer that will call methods onWarmTierRetentionPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-