Interface CreateDatasetRequest.Builder

    • Method Detail

      • datasetName

        CreateDatasetRequest.Builder datasetName​(String datasetName)

        The name of the dataset.

        Parameters:
        datasetName - The name of the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        CreateDatasetRequest.Builder actions​(Collection<DatasetAction> actions)

        A list of actions that create the dataset contents.

        Parameters:
        actions - A list of actions that create the dataset contents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        CreateDatasetRequest.Builder actions​(DatasetAction... actions)

        A list of actions that create the dataset contents.

        Parameters:
        actions - A list of actions that create the dataset contents.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggers

        CreateDatasetRequest.Builder triggers​(Collection<DatasetTrigger> triggers)

        A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.

        Parameters:
        triggers - A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggers

        CreateDatasetRequest.Builder triggers​(DatasetTrigger... triggers)

        A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.

        Parameters:
        triggers - A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggers

        CreateDatasetRequest.Builder triggers​(Consumer<DatasetTrigger.Builder>... triggers)

        A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #triggers(List).

        Parameters:
        triggers - a consumer that will call methods on DatasetTrigger.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #triggers(java.util.Collection)
      • contentDeliveryRules

        CreateDatasetRequest.Builder contentDeliveryRules​(Collection<DatasetContentDeliveryRule> contentDeliveryRules)

        When dataset contents are created, they are delivered to destinations specified here.

        Parameters:
        contentDeliveryRules - When dataset contents are created, they are delivered to destinations specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentDeliveryRules

        CreateDatasetRequest.Builder contentDeliveryRules​(DatasetContentDeliveryRule... contentDeliveryRules)

        When dataset contents are created, they are delivered to destinations specified here.

        Parameters:
        contentDeliveryRules - When dataset contents are created, they are delivered to destinations specified here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retentionPeriod

        CreateDatasetRequest.Builder retentionPeriod​(RetentionPeriod retentionPeriod)

        Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set to null, versions of dataset contents are retained for at most 90 days. The number of versions of dataset contents retained is determined by the versioningConfiguration parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.

        Parameters:
        retentionPeriod - Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set to null, versions of dataset contents are retained for at most 90 days. The number of versions of dataset contents retained is determined by the versioningConfiguration parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versioningConfiguration

        CreateDatasetRequest.Builder versioningConfiguration​(VersioningConfiguration versioningConfiguration)

        Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the retentionPeriod parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.

        Parameters:
        versioningConfiguration - Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the retentionPeriod parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDatasetRequest.Builder tags​(Collection<Tag> tags)

        Metadata which can be used to manage the dataset.

        Parameters:
        tags - Metadata which can be used to manage the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDatasetRequest.Builder tags​(Tag... tags)

        Metadata which can be used to manage the dataset.

        Parameters:
        tags - Metadata which can be used to manage the dataset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateDatasetRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Metadata which can be used to manage the dataset.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • lateDataRules

        CreateDatasetRequest.Builder lateDataRules​(Collection<LateDataRule> lateDataRules)

        A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules, the dataset must use a DeltaTimer filter.

        Parameters:
        lateDataRules - A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules, the dataset must use a DeltaTimer filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lateDataRules

        CreateDatasetRequest.Builder lateDataRules​(LateDataRule... lateDataRules)

        A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules, the dataset must use a DeltaTimer filter.

        Parameters:
        lateDataRules - A list of data rules that send notifications to CloudWatch, when data arrives late. To specify lateDataRules, the dataset must use a DeltaTimer filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.