Class MigrateToDataTiersResponse.Builder
- All Implemented Interfaces:
WithJson<MigrateToDataTiersResponse.Builder>,ObjectBuilder<MigrateToDataTiersResponse>
- Enclosing class:
- MigrateToDataTiersResponse
MigrateToDataTiersResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMigrateToDataTiersResponse.dryRun(boolean value) Required - API name:dry_runmigratedComponentTemplates(String value, String... values) Required - The component templates that were updated to not contain custom routing settings for the provided data attribute.migratedComponentTemplates(List<String> list) Required - The component templates that were updated to not contain custom routing settings for the provided data attribute.migratedComposableTemplates(String value, String... values) Required - The composable index templates that were updated to not contain custom routing settings for the provided data attribute.Required - The composable index templates that were updated to not contain custom routing settings for the provided data attribute.migratedIlmPolicies(String value, String... values) Required - The ILM policies that were updated.migratedIlmPolicies(List<String> list) Required - The ILM policies that were updated.migratedIndices(String value, String... values) Required - The indices that were migrated to tier preference routing.migratedIndices(List<String> list) Required - The indices that were migrated to tier preference routing.migratedLegacyTemplates(String value, String... values) Required - The legacy index templates that were updated to not contain custom routing settings for the provided data attribute.migratedLegacyTemplates(List<String> list) Required - The legacy index templates that were updated to not contain custom routing settings for the provided data attribute.removedLegacyTemplate(String value) Required - The name of the legacy index template that was deleted.protected MigrateToDataTiersResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dryRun
Required - API name:dry_run -
removedLegacyTemplate
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
Required - The ILM policies that were updated.API name:
migrated_ilm_policiesAdds all elements of
listtomigratedIlmPolicies. -
migratedIlmPolicies
Required - The ILM policies that were updated.API name:
migrated_ilm_policiesAdds one or more values to
migratedIlmPolicies. -
migratedIndices
Required - The indices that were migrated to tier preference routing.API name:
migrated_indicesAdds all elements of
listtomigratedIndices. -
migratedIndices
Required - The indices that were migrated to tier preference routing.API name:
migrated_indicesAdds one or more values to
migratedIndices. -
migratedLegacyTemplates
Required - The legacy index templates that were updated to not contain custom routing settings for the provided data attribute.API name:
migrated_legacy_templatesAdds all elements of
listtomigratedLegacyTemplates. -
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_templatesAdds one or more values to
migratedLegacyTemplates. -
migratedComposableTemplates
Required - The composable index templates that were updated to not contain custom routing settings for the provided data attribute.API name:
migrated_composable_templatesAdds all elements of
listtomigratedComposableTemplates. -
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_templatesAdds one or more values to
migratedComposableTemplates. -
migratedComponentTemplates
Required - The component templates that were updated to not contain custom routing settings for the provided data attribute.API name:
migrated_component_templatesAdds all elements of
listtomigratedComponentTemplates. -
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_templatesAdds one or more values to
migratedComponentTemplates. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<MigrateToDataTiersResponse.Builder>
-
build
Builds aMigrateToDataTiersResponse.- Specified by:
buildin interfaceObjectBuilder<MigrateToDataTiersResponse>- Throws:
NullPointerException- if some of the required fields are null.
-