@Generated(value="software.amazon.awssdk:codegen") public final class DatastoreStorage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatastoreStorage.Builder,DatastoreStorage>
Where data in a data store is stored.. You can choose serviceManagedS3 storage,
customerManagedS3 storage, or iotSiteWiseMultiLayerStorage storage. The default is
serviceManagedS3. You can't change the choice of Amazon S3 storage after your data store is created.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatastoreStorage.Builder |
static class |
DatastoreStorage.Type |
| Modifier and Type | Method and Description |
|---|---|
static DatastoreStorage.Builder |
builder() |
CustomerManagedDatastoreS3Storage |
customerManagedS3()
S3-customer-managed; When you choose customer-managed storage, the
retentionPeriod parameter is
ignored. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static DatastoreStorage |
fromCustomerManagedS3(Consumer<CustomerManagedDatastoreS3Storage.Builder> customerManagedS3)
Create an instance of this class with
customerManagedS3() initialized to the given value. |
static DatastoreStorage |
fromCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
Create an instance of this class with
customerManagedS3() initialized to the given value. |
static DatastoreStorage |
fromIotSiteWiseMultiLayerStorage(Consumer<DatastoreIotSiteWiseMultiLayerStorage.Builder> iotSiteWiseMultiLayerStorage)
Create an instance of this class with
iotSiteWiseMultiLayerStorage() initialized to the given value. |
static DatastoreStorage |
fromIotSiteWiseMultiLayerStorage(DatastoreIotSiteWiseMultiLayerStorage iotSiteWiseMultiLayerStorage)
Create an instance of this class with
iotSiteWiseMultiLayerStorage() initialized to the given value. |
static DatastoreStorage |
fromServiceManagedS3(Consumer<ServiceManagedDatastoreS3Storage.Builder> serviceManagedS3)
Create an instance of this class with
serviceManagedS3() initialized to the given value. |
static DatastoreStorage |
fromServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
Create an instance of this class with
serviceManagedS3() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
DatastoreIotSiteWiseMultiLayerStorage |
iotSiteWiseMultiLayerStorage()
Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatastoreStorage.Builder> |
serializableBuilderClass() |
ServiceManagedDatastoreS3Storage |
serviceManagedS3()
Used to store data in an Amazon S3 bucket managed by IoT Analytics.
|
DatastoreStorage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
DatastoreStorage.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ServiceManagedDatastoreS3Storage serviceManagedS3()
Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon S3 storage after your data store is created.
public final CustomerManagedDatastoreS3Storage customerManagedS3()
S3-customer-managed; When you choose customer-managed storage, the retentionPeriod parameter is
ignored. You can't change the choice of Amazon S3 storage after your data store is created.
retentionPeriod parameter
is ignored. You can't change the choice of Amazon S3 storage after your data store is created.public final DatastoreIotSiteWiseMultiLayerStorage iotSiteWiseMultiLayerStorage()
Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
public DatastoreStorage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatastoreStorage.Builder,DatastoreStorage>public static DatastoreStorage.Builder builder()
public static Class<? extends DatastoreStorage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static DatastoreStorage fromServiceManagedS3(ServiceManagedDatastoreS3Storage serviceManagedS3)
serviceManagedS3() initialized to the given value.
Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon S3 storage after your data store is created.
serviceManagedS3 - Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon
S3 storage after your data store is created.public static DatastoreStorage fromServiceManagedS3(Consumer<ServiceManagedDatastoreS3Storage.Builder> serviceManagedS3)
serviceManagedS3() initialized to the given value.
Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon S3 storage after your data store is created.
serviceManagedS3 - Used to store data in an Amazon S3 bucket managed by IoT Analytics. You can't change the choice of Amazon
S3 storage after your data store is created.public static DatastoreStorage fromCustomerManagedS3(CustomerManagedDatastoreS3Storage customerManagedS3)
customerManagedS3() initialized to the given value.
S3-customer-managed; When you choose customer-managed storage, the retentionPeriod parameter is
ignored. You can't change the choice of Amazon S3 storage after your data store is created.
customerManagedS3 - S3-customer-managed; When you choose customer-managed storage, the retentionPeriod parameter
is ignored. You can't change the choice of Amazon S3 storage after your data store is created.public static DatastoreStorage fromCustomerManagedS3(Consumer<CustomerManagedDatastoreS3Storage.Builder> customerManagedS3)
customerManagedS3() initialized to the given value.
S3-customer-managed; When you choose customer-managed storage, the retentionPeriod parameter is
ignored. You can't change the choice of Amazon S3 storage after your data store is created.
customerManagedS3 - S3-customer-managed; When you choose customer-managed storage, the retentionPeriod parameter
is ignored. You can't change the choice of Amazon S3 storage after your data store is created.public static DatastoreStorage fromIotSiteWiseMultiLayerStorage(DatastoreIotSiteWiseMultiLayerStorage iotSiteWiseMultiLayerStorage)
iotSiteWiseMultiLayerStorage() initialized to the given value.
Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
iotSiteWiseMultiLayerStorage - Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the
choice of Amazon S3 storage after your data store is created.public static DatastoreStorage fromIotSiteWiseMultiLayerStorage(Consumer<DatastoreIotSiteWiseMultiLayerStorage.Builder> iotSiteWiseMultiLayerStorage)
iotSiteWiseMultiLayerStorage() initialized to the given value.
Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the choice of Amazon S3 storage after your data store is created.
iotSiteWiseMultiLayerStorage - Used to store data used by IoT SiteWise in an Amazon S3 bucket that you manage. You can't change the
choice of Amazon S3 storage after your data store is created.public DatastoreStorage.Type type()
DatastoreStorage.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be DatastoreStorage.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.