Interface ThingGroupIndexingConfiguration.Builder

    • Method Detail

      • managedFields

        ThingGroupIndexingConfiguration.Builder managedFields​(Collection<Field> managedFields)

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

        Parameters:
        managedFields - Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

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

        ThingGroupIndexingConfiguration.Builder managedFields​(Field... managedFields)

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

        Parameters:
        managedFields - Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

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

        ThingGroupIndexingConfiguration.Builder managedFields​(Consumer<Field.Builder>... managedFields)

        Contains fields that are indexed and whose types are already known by the Fleet Indexing service. This is an optional field. For more information, see Managed fields in the Amazon Web Services IoT Core Developer Guide.

        You can't modify managed fields by updating fleet indexing configuration.

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

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

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

        ThingGroupIndexingConfiguration.Builder customFields​(Collection<Field> customFields)

        A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

        Contains custom field names and their data type.

        Parameters:
        customFields - A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

        Contains custom field names and their data type.

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

        ThingGroupIndexingConfiguration.Builder customFields​(Field... customFields)

        A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

        Contains custom field names and their data type.

        Parameters:
        customFields - A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

        Contains custom field names and their data type.

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

        ThingGroupIndexingConfiguration.Builder customFields​(Consumer<Field.Builder>... customFields)

        A list of thing group fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

        Contains custom field names and their data type.

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

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

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