Class StandalonePriceImportRequestBuilder
java.lang.Object
com.commercetools.importapi.models.importrequests.StandalonePriceImportRequestBuilder
- All Implemented Interfaces:
Builder<StandalonePriceImportRequest>
public class StandalonePriceImportRequestBuilder
extends Object
implements Builder<StandalonePriceImportRequest>
StandalonePriceImportRequestBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
StandalonePriceImportRequest standalonePriceImportRequest = StandalonePriceImportRequest.builder()
.plusResources(resourcesBuilder -> resourcesBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe Standalone Price import resources of this request.build()
builds StandalonePriceImportRequest with checking for non-null required valuesbuilds StandalonePriceImportRequest without checking for non-null required valuesThe Standalone Price import resources of this request.of()
factory method for an instance of StandalonePriceImportRequestBuilderof
(StandalonePriceImportRequest template) create builder for StandalonePriceImportRequest instanceplusResources
(StandalonePriceImport... resources) The Standalone Price import resources of this request.The Standalone Price import resources of this request.resources
(StandalonePriceImport... resources) The Standalone Price import resources of this request.resources
(List<StandalonePriceImport> resources) The Standalone Price import resources of this request.The Standalone Price import resources of this request.The Standalone Price import resources of this request.
-
Constructor Details
-
StandalonePriceImportRequestBuilder
public StandalonePriceImportRequestBuilder()
-
-
Method Details
-
resources
The Standalone Price import resources of this request.
- Parameters:
resources
- value to be set- Returns:
- Builder
-
resources
The Standalone Price import resources of this request.
- Parameters:
resources
- value to be set- Returns:
- Builder
-
plusResources
The Standalone Price import resources of this request.
- Parameters:
resources
- value to be set- Returns:
- Builder
-
plusResources
public StandalonePriceImportRequestBuilder plusResources(Function<StandalonePriceImportBuilder, StandalonePriceImportBuilder> builder) The Standalone Price import resources of this request.
- Parameters:
builder
- function to build the resources value- Returns:
- Builder
-
withResources
public StandalonePriceImportRequestBuilder withResources(Function<StandalonePriceImportBuilder, StandalonePriceImportBuilder> builder) The Standalone Price import resources of this request.
- Parameters:
builder
- function to build the resources value- Returns:
- Builder
-
addResources
public StandalonePriceImportRequestBuilder addResources(Function<StandalonePriceImportBuilder, StandalonePriceImport> builder) The Standalone Price import resources of this request.
- Parameters:
builder
- function to build the resources value- Returns:
- Builder
-
setResources
public StandalonePriceImportRequestBuilder setResources(Function<StandalonePriceImportBuilder, StandalonePriceImport> builder) The Standalone Price import resources of this request.
- Parameters:
builder
- function to build the resources value- Returns:
- Builder
-
getResources
The Standalone Price import resources of this request.
- Returns:
- resources
-
build
builds StandalonePriceImportRequest with checking for non-null required values- Specified by:
build
in interfaceBuilder<StandalonePriceImportRequest>
- Returns:
- StandalonePriceImportRequest
-
buildUnchecked
builds StandalonePriceImportRequest without checking for non-null required values- Returns:
- StandalonePriceImportRequest
-
of
factory method for an instance of StandalonePriceImportRequestBuilder- Returns:
- builder
-
of
create builder for StandalonePriceImportRequest instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-