Class DatastoreStorage

    • Method Detail

      • serviceManagedS3

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

        Returns:
        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.
      • customerManagedS3

        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.

        Returns:
        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.
      • iotSiteWiseMultiLayerStorage

        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.

        Returns:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromServiceManagedS3

        public static DatastoreStorage fromServiceManagedS3​(ServiceManagedDatastoreS3Storage serviceManagedS3)
        Create an instance of this class with 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.

        Parameters:
        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.
      • fromServiceManagedS3

        public static DatastoreStorage fromServiceManagedS3​(Consumer<ServiceManagedDatastoreS3Storage.Builder> serviceManagedS3)
        Create an instance of this class with 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.

        Parameters:
        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.
      • fromCustomerManagedS3

        public static DatastoreStorage fromCustomerManagedS3​(CustomerManagedDatastoreS3Storage customerManagedS3)
        Create an instance of this class with 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.

        Parameters:
        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.
      • fromCustomerManagedS3

        public static DatastoreStorage fromCustomerManagedS3​(Consumer<CustomerManagedDatastoreS3Storage.Builder> customerManagedS3)
        Create an instance of this class with 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.

        Parameters:
        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.
      • fromIotSiteWiseMultiLayerStorage

        public static DatastoreStorage fromIotSiteWiseMultiLayerStorage​(DatastoreIotSiteWiseMultiLayerStorage iotSiteWiseMultiLayerStorage)
        Create an instance of this class with 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.

        Parameters:
        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.
      • fromIotSiteWiseMultiLayerStorage

        public static DatastoreStorage fromIotSiteWiseMultiLayerStorage​(Consumer<DatastoreIotSiteWiseMultiLayerStorage.Builder> iotSiteWiseMultiLayerStorage)
        Create an instance of this class with 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.

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