@Generated(value="software.amazon.awssdk:codegen") public final class PutStorageConfigurationRequest extends IoTSiteWiseRequest implements ToCopyableBuilder<PutStorageConfigurationRequest.Builder,PutStorageConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutStorageConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutStorageConfigurationRequest.Builder |
builder() |
DisassociatedDataStorageState |
disassociatedDataStorage()
Contains the storage configuration for time series (data streams) that aren't associated with asset properties.
|
String |
disassociatedDataStorageAsString()
Contains the storage configuration for time series (data streams) that aren't associated with asset properties.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MultiLayerStorage |
multiLayerStorage()
Identifies a storage destination.
|
RetentionPeriod |
retentionPeriod()
Returns the value of the RetentionPeriod property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutStorageConfigurationRequest.Builder> |
serializableBuilderClass() |
StorageType |
storageType()
The storage tier that you specified for your data.
|
String |
storageTypeAsString()
The storage tier that you specified for your data.
|
PutStorageConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final StorageType 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.
If the service returns an enum value that is not available in the current SDK version, storageType will
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
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.
StorageTypepublic final String storageTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version, storageType will
return StorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
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.
StorageTypepublic final MultiLayerStorage multiLayerStorage()
Identifies a storage destination. If you specified MULTI_LAYER_STORAGE for the storage type, you
must specify a MultiLayerStorage object.
MULTI_LAYER_STORAGE for the storage type,
you must specify a MultiLayerStorage object.public final 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.
If the service returns an enum value that is not available in the current SDK version,
disassociatedDataStorage will return DisassociatedDataStorageState.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from disassociatedDataStorageAsString().
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.
DisassociatedDataStorageStatepublic final String disassociatedDataStorageAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
disassociatedDataStorage will return DisassociatedDataStorageState.UNKNOWN_TO_SDK_VERSION. The
raw value returned by the service is available from disassociatedDataStorageAsString().
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.
DisassociatedDataStorageStatepublic final RetentionPeriod retentionPeriod()
public PutStorageConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutStorageConfigurationRequest.Builder,PutStorageConfigurationRequest>toBuilder in class IoTSiteWiseRequestpublic static PutStorageConfigurationRequest.Builder builder()
public static Class<? extends PutStorageConfigurationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.