Class SearchIndexingConfigurationValuesBuilder
java.lang.Object
com.commercetools.api.models.project.SearchIndexingConfigurationValuesBuilder
- All Implemented Interfaces:
Builder<SearchIndexingConfigurationValues>
public class SearchIndexingConfigurationValuesBuilder
extends Object
implements Builder<SearchIndexingConfigurationValues>
SearchIndexingConfigurationValuesBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
SearchIndexingConfigurationValues searchIndexingConfigurationValues = SearchIndexingConfigurationValues.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds SearchIndexingConfigurationValues with checking for non-null required valuesbuilds SearchIndexingConfigurationValues without checking for non-null required valuesDate and time (UTC) the Project was last updated.IDs and references that last modified the SearchIndexingConfigurationValues.Current status of resource indexing.lastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the Project was last updated.lastModifiedBy
(LastModifiedBy lastModifiedBy) IDs and references that last modified the SearchIndexingConfigurationValues.IDs and references that last modified the SearchIndexingConfigurationValues.of()
factory method for an instance of SearchIndexingConfigurationValuesBuilderof
(SearchIndexingConfigurationValues template) create builder for SearchIndexingConfigurationValues instanceCurrent status of resource indexing.IDs and references that last modified the SearchIndexingConfigurationValues.
-
Constructor Details
-
SearchIndexingConfigurationValuesBuilder
public SearchIndexingConfigurationValuesBuilder()
-
-
Method Details
-
status
public SearchIndexingConfigurationValuesBuilder status(@Nullable SearchIndexingConfigurationStatus status) Current status of resource indexing. Present on Projects from 1 February 2019.
- Parameters:
status
- value to be set- Returns:
- Builder
-
lastModifiedAt
public SearchIndexingConfigurationValuesBuilder lastModifiedAt(@Nullable ZonedDateTime lastModifiedAt) Date and time (UTC) the Project was last updated. Only present on Projects last modified after 1 February 2019.
- Parameters:
lastModifiedAt
- value to be set- Returns:
- Builder
-
lastModifiedBy
public SearchIndexingConfigurationValuesBuilder lastModifiedBy(Function<LastModifiedByBuilder, LastModifiedByBuilder> builder) IDs and references that last modified the SearchIndexingConfigurationValues.
- Parameters:
builder
- function to build the lastModifiedBy value- Returns:
- Builder
-
withLastModifiedBy
public SearchIndexingConfigurationValuesBuilder withLastModifiedBy(Function<LastModifiedByBuilder, LastModifiedBy> builder) IDs and references that last modified the SearchIndexingConfigurationValues.
- Parameters:
builder
- function to build the lastModifiedBy value- Returns:
- Builder
-
lastModifiedBy
public SearchIndexingConfigurationValuesBuilder lastModifiedBy(@Nullable LastModifiedBy lastModifiedBy) IDs and references that last modified the SearchIndexingConfigurationValues.
- Parameters:
lastModifiedBy
- value to be set- Returns:
- Builder
-
getStatus
Current status of resource indexing. Present on Projects from 1 February 2019.
- Returns:
- status
-
getLastModifiedAt
Date and time (UTC) the Project was last updated. Only present on Projects last modified after 1 February 2019.
- Returns:
- lastModifiedAt
-
getLastModifiedBy
IDs and references that last modified the SearchIndexingConfigurationValues.
- Returns:
- lastModifiedBy
-
build
builds SearchIndexingConfigurationValues with checking for non-null required values- Specified by:
build
in interfaceBuilder<SearchIndexingConfigurationValues>
- Returns:
- SearchIndexingConfigurationValues
-
buildUnchecked
builds SearchIndexingConfigurationValues without checking for non-null required values- Returns:
- SearchIndexingConfigurationValues
-
of
factory method for an instance of SearchIndexingConfigurationValuesBuilder- Returns:
- builder
-
of
public static SearchIndexingConfigurationValuesBuilder of(SearchIndexingConfigurationValues template) create builder for SearchIndexingConfigurationValues instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-