Class MigrateToDataTiersResponse.Builder

All Implemented Interfaces:
WithJson<MigrateToDataTiersResponse.Builder>, ObjectBuilder<MigrateToDataTiersResponse>
Enclosing class:
MigrateToDataTiersResponse

public static class MigrateToDataTiersResponse.Builder extends WithJsonObjectBuilderBase<MigrateToDataTiersResponse.Builder> implements ObjectBuilder<MigrateToDataTiersResponse>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • dryRun

      public final MigrateToDataTiersResponse.Builder dryRun(boolean value)
      Required - API name: dry_run
    • removedLegacyTemplate

      public final MigrateToDataTiersResponse.Builder removedLegacyTemplate(String value)
      Required - The name of the legacy index template that was deleted. This information is missing if no legacy index templates were deleted.

      API name: removed_legacy_template

    • migratedIlmPolicies

      public final MigrateToDataTiersResponse.Builder migratedIlmPolicies(List<String> list)
      Required - The ILM policies that were updated.

      API name: migrated_ilm_policies

      Adds all elements of list to migratedIlmPolicies.

    • migratedIlmPolicies

      public final MigrateToDataTiersResponse.Builder migratedIlmPolicies(String value, String... values)
      Required - The ILM policies that were updated.

      API name: migrated_ilm_policies

      Adds one or more values to migratedIlmPolicies.

    • migratedIndices

      public final MigrateToDataTiersResponse.Builder migratedIndices(List<String> list)
      Required - The indices that were migrated to tier preference routing.

      API name: migrated_indices

      Adds all elements of list to migratedIndices.

    • migratedIndices

      public final MigrateToDataTiersResponse.Builder migratedIndices(String value, String... values)
      Required - The indices that were migrated to tier preference routing.

      API name: migrated_indices

      Adds one or more values to migratedIndices.

    • migratedLegacyTemplates

      public final MigrateToDataTiersResponse.Builder migratedLegacyTemplates(List<String> list)
      Required - The legacy index templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_legacy_templates

      Adds all elements of list to migratedLegacyTemplates.

    • migratedLegacyTemplates

      public final MigrateToDataTiersResponse.Builder migratedLegacyTemplates(String value, String... values)
      Required - The legacy index templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_legacy_templates

      Adds one or more values to migratedLegacyTemplates.

    • migratedComposableTemplates

      public final MigrateToDataTiersResponse.Builder migratedComposableTemplates(List<String> list)
      Required - The composable index templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_composable_templates

      Adds all elements of list to migratedComposableTemplates.

    • migratedComposableTemplates

      public final MigrateToDataTiersResponse.Builder migratedComposableTemplates(String value, String... values)
      Required - The composable index templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_composable_templates

      Adds one or more values to migratedComposableTemplates.

    • migratedComponentTemplates

      public final MigrateToDataTiersResponse.Builder migratedComponentTemplates(List<String> list)
      Required - The component templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_component_templates

      Adds all elements of list to migratedComponentTemplates.

    • migratedComponentTemplates

      public final MigrateToDataTiersResponse.Builder migratedComponentTemplates(String value, String... values)
      Required - The component templates that were updated to not contain custom routing settings for the provided data attribute.

      API name: migrated_component_templates

      Adds one or more values to migratedComponentTemplates.

    • self

      Specified by:
      self in class WithJsonObjectBuilderBase<MigrateToDataTiersResponse.Builder>
    • build

      Specified by:
      build in interface ObjectBuilder<MigrateToDataTiersResponse>
      Throws:
      NullPointerException - if some of the required fields are null.