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 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. 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.

      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. 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • multiLayerStorage

      PutStorageConfigurationRequest.Builder multiLayerStorage(MultiLayerStorage multiLayerStorage)

      Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

      Parameters:
      multiLayerStorage - Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.
      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 MULTI_LAYER_STORAGE for the storage type, you must specify a MultiLayerStorage object.

      This is a convenience method that creates an instance of the MultiLayerStorage.Builder avoiding the need to create one manually via MultiLayerStorage.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to multiLayerStorage(MultiLayerStorage).

      Parameters:
      multiLayerStorage - a consumer that will call methods on MultiLayerStorage.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disassociatedDataStorage

      PutStorageConfigurationRequest.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. 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disassociatedDataStorage

      PutStorageConfigurationRequest.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. 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the RetentionPeriod.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).

      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:
    • 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

      PutStorageConfigurationRequest.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 PutStorageConfigurationRequest.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 the WarmTierRetentionPeriod.Builder avoiding the need to create one manually via WarmTierRetentionPeriod.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to warmTierRetentionPeriod(WarmTierRetentionPeriod).

      Parameters:
      warmTierRetentionPeriod - a consumer that will call methods on WarmTierRetentionPeriod.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      PutStorageConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.