Interface PutStorageConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutStorageConfigurationRequest.Builder,PutStorageConfigurationRequest>,IoTSiteWiseRequest.Builder,SdkBuilder<PutStorageConfigurationRequest.Builder,PutStorageConfigurationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutStorageConfigurationRequest
public static interface PutStorageConfigurationRequest.Builder extends IoTSiteWiseRequest.Builder, SdkPojo, CopyableBuilder<PutStorageConfigurationRequest.Builder,PutStorageConfigurationRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
storageType
PutStorageConfigurationRequest.Builder storageType(String storageType)
The storage tier that you specified for your data. The
storageTypeparameter 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. ThestorageTypeparameter 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,StorageType
-
-
storageType
PutStorageConfigurationRequest.Builder storageType(StorageType storageType)
The storage tier that you specified for your data. The
storageTypeparameter 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. ThestorageTypeparameter 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,StorageType
-
-
multiLayerStorage
PutStorageConfigurationRequest.Builder multiLayerStorage(MultiLayerStorage multiLayerStorage)
Identifies a storage destination. If you specified
MULTI_LAYER_STORAGEfor the storage type, you must specify aMultiLayerStorageobject.- Parameters:
multiLayerStorage- Identifies a storage destination. If you specifiedMULTI_LAYER_STORAGEfor the storage type, you must specify aMultiLayerStorageobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multiLayerStorage
default PutStorageConfigurationRequest.Builder multiLayerStorage(Consumer<MultiLayerStorage.Builder> multiLayerStorage)
Identifies a storage destination. If you specified
This is a convenience method that creates an instance of theMULTI_LAYER_STORAGEfor the storage type, you must specify aMultiLayerStorageobject.MultiLayerStorage.Builderavoiding the need to create one manually viaMultiLayerStorage.builder().When the
Consumercompletes,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:
multiLayerStorage(MultiLayerStorage)
-
disassociatedDataStorage
PutStorageConfigurationRequest.Builder disassociatedDataStorage(String disassociatedDataStorage)
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStoragecan be one of the following values:-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis 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. ThedisassociatedDataStoragecan be one of the following values:-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis 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:
DisassociatedDataStorageState,DisassociatedDataStorageState
-
-
disassociatedDataStorage
PutStorageConfigurationRequest.Builder disassociatedDataStorage(DisassociatedDataStorageState disassociatedDataStorage)
Contains the storage configuration for time series (data streams) that aren't associated with asset properties. The
disassociatedDataStoragecan be one of the following values:-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis 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. ThedisassociatedDataStoragecan be one of the following values:-
ENABLED– IoT SiteWise accepts time series that aren't associated with asset properties.After the
disassociatedDataStorageis 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:
DisassociatedDataStorageState,DisassociatedDataStorageState
-
-
retentionPeriod
PutStorageConfigurationRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Sets the value of the RetentionPeriod property for this object.- Parameters:
retentionPeriod- The new value for the RetentionPeriod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default PutStorageConfigurationRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Sets the value of the RetentionPeriod property for this object. 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 onRetentionPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
retentionPeriod(RetentionPeriod)
-
overrideConfiguration
PutStorageConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutStorageConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-