Class ExtensionSetExpansionPathsActionBuilder

java.lang.Object
com.commercetools.api.models.extension.ExtensionSetExpansionPathsActionBuilder
All Implemented Interfaces:
Builder<ExtensionSetExpansionPathsAction>

public class ExtensionSetExpansionPathsActionBuilder extends Object implements Builder<ExtensionSetExpansionPathsAction>
ExtensionSetExpansionPathsActionBuilder
Example to create an instance using the builder pattern

     ExtensionSetExpansionPathsAction extensionSetExpansionPathsAction = ExtensionSetExpansionPathsAction.builder()
             .plusExpansionPaths(expansionPathsBuilder -> expansionPathsBuilder)
             .build()
 
  • Constructor Details

    • ExtensionSetExpansionPathsActionBuilder

      public ExtensionSetExpansionPathsActionBuilder()
  • Method Details

    • expansionPaths

      public ExtensionSetExpansionPathsActionBuilder expansionPaths(String... expansionPaths)

      Expansion paths used for reference expansion of the payload.

      Be aware of the limits of this feature and its performance impact.

      Parameters:
      expansionPaths - value to be set
      Returns:
      Builder
    • expansionPaths

      public ExtensionSetExpansionPathsActionBuilder expansionPaths(List<String> expansionPaths)

      Expansion paths used for reference expansion of the payload.

      Be aware of the limits of this feature and its performance impact.

      Parameters:
      expansionPaths - value to be set
      Returns:
      Builder
    • plusExpansionPaths

      public ExtensionSetExpansionPathsActionBuilder plusExpansionPaths(String... expansionPaths)

      Expansion paths used for reference expansion of the payload.

      Be aware of the limits of this feature and its performance impact.

      Parameters:
      expansionPaths - value to be set
      Returns:
      Builder
    • getExpansionPaths

      public List<String> getExpansionPaths()

      Expansion paths used for reference expansion of the payload.

      Be aware of the limits of this feature and its performance impact.

      Returns:
      expansionPaths
    • build

      builds ExtensionSetExpansionPathsAction with checking for non-null required values
      Specified by:
      build in interface Builder<ExtensionSetExpansionPathsAction>
      Returns:
      ExtensionSetExpansionPathsAction
    • buildUnchecked

      public ExtensionSetExpansionPathsAction buildUnchecked()
      builds ExtensionSetExpansionPathsAction without checking for non-null required values
      Returns:
      ExtensionSetExpansionPathsAction
    • of

      factory method for an instance of ExtensionSetExpansionPathsActionBuilder
      Returns:
      builder
    • of

      create builder for ExtensionSetExpansionPathsAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder