001 002package com.commercetools.api.models.standalone_price; 003 004import java.util.*; 005 006import io.vrap.rmf.base.client.Builder; 007import io.vrap.rmf.base.client.utils.Generated; 008 009/** 010 * StandalonePriceApplyStagedChangesActionBuilder 011 * <hr> 012 * Example to create an instance using the builder pattern 013 * <div class=code-example> 014 * <pre><code class='java'> 015 * StandalonePriceApplyStagedChangesAction standalonePriceApplyStagedChangesAction = StandalonePriceApplyStagedChangesAction.builder() 016 * .build() 017 * </code></pre> 018 * </div> 019 */ 020@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") 021public class StandalonePriceApplyStagedChangesActionBuilder 022 implements Builder<StandalonePriceApplyStagedChangesAction> { 023 024 /** 025 * builds StandalonePriceApplyStagedChangesAction with checking for non-null required values 026 * @return StandalonePriceApplyStagedChangesAction 027 */ 028 public StandalonePriceApplyStagedChangesAction build() { 029 return new StandalonePriceApplyStagedChangesActionImpl(); 030 } 031 032 /** 033 * builds StandalonePriceApplyStagedChangesAction without checking for non-null required values 034 * @return StandalonePriceApplyStagedChangesAction 035 */ 036 public StandalonePriceApplyStagedChangesAction buildUnchecked() { 037 return new StandalonePriceApplyStagedChangesActionImpl(); 038 } 039 040 /** 041 * factory method for an instance of StandalonePriceApplyStagedChangesActionBuilder 042 * @return builder 043 */ 044 public static StandalonePriceApplyStagedChangesActionBuilder of() { 045 return new StandalonePriceApplyStagedChangesActionBuilder(); 046 } 047 048 /** 049 * create builder for StandalonePriceApplyStagedChangesAction instance 050 * @param template instance with prefilled values for the builder 051 * @return builder 052 */ 053 public static StandalonePriceApplyStagedChangesActionBuilder of( 054 final StandalonePriceApplyStagedChangesAction template) { 055 StandalonePriceApplyStagedChangesActionBuilder builder = new StandalonePriceApplyStagedChangesActionBuilder(); 056 return builder; 057 } 058 059}