Interface Datastore.Builder

    • Method Detail

      • name

        Datastore.Builder name​(String name)

        The name of the data store.

        Parameters:
        name - The name of the data store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • storage

        Datastore.Builder storage​(DatastoreStorage storage)

        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.

        Parameters:
        storage - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        Datastore.Builder arn​(String arn)

        The ARN of the data store.

        Parameters:
        arn - The ARN of the data store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        Datastore.Builder status​(String status)

        The status of a data store:

        CREATING

        The data store is being created.

        ACTIVE

        The data store has been created and can be used.

        DELETING

        The data store is being deleted.

        Parameters:
        status - The status of a data store:

        CREATING

        The data store is being created.

        ACTIVE

        The data store has been created and can be used.

        DELETING

        The data store is being deleted.

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

        Datastore.Builder status​(DatastoreStatus status)

        The status of a data store:

        CREATING

        The data store is being created.

        ACTIVE

        The data store has been created and can be used.

        DELETING

        The data store is being deleted.

        Parameters:
        status - The status of a data store:

        CREATING

        The data store is being created.

        ACTIVE

        The data store has been created and can be used.

        DELETING

        The data store is being deleted.

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

        Datastore.Builder retentionPeriod​(RetentionPeriod retentionPeriod)

        How long, in days, message data is kept for the data store. When customerManagedS3 storage is selected, this parameter is ignored.

        Parameters:
        retentionPeriod - How long, in days, message data is kept for the data store. When customerManagedS3 storage is selected, this parameter is ignored.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        Datastore.Builder creationTime​(Instant creationTime)

        When the data store was created.

        Parameters:
        creationTime - When the data store was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTime

        Datastore.Builder lastUpdateTime​(Instant lastUpdateTime)

        The last time the data store was updated.

        Parameters:
        lastUpdateTime - The last time the data store was updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastMessageArrivalTime

        Datastore.Builder lastMessageArrivalTime​(Instant lastMessageArrivalTime)

        The last time when a new message arrived in the data store.

        IoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime value is an approximation.

        This feature only applies to messages that arrived in the data store after October 23, 2020.

        Parameters:
        lastMessageArrivalTime - The last time when a new message arrived in the data store.

        IoT Analytics updates this value at most once per minute for Amazon Simple Storage Service one data store. Hence, the lastMessageArrivalTime value is an approximation.

        This feature only applies to messages that arrived in the data store after October 23, 2020.

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

        Datastore.Builder fileFormatConfiguration​(FileFormatConfiguration fileFormatConfiguration)

        Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.

        The default file format is JSON. You can specify only one format.

        You can't change the file format after you create the data store.

        Parameters:
        fileFormatConfiguration - Contains the configuration information of file formats. IoT Analytics data stores support JSON and Parquet.

        The default file format is JSON. You can specify only one format.

        You can't change the file format after you create the data store.

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

        Datastore.Builder datastorePartitions​(DatastorePartitions datastorePartitions)

        Contains information about the partition dimensions in a data store.

        Parameters:
        datastorePartitions - Contains information about the partition dimensions in a data store.
        Returns:
        Returns a reference to this object so that method calls can be chained together.