Class MyCustomerSetLocaleActionBuilder

java.lang.Object
com.commercetools.api.models.me.MyCustomerSetLocaleActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<MyCustomerSetLocaleAction>

public class MyCustomerSetLocaleActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<MyCustomerSetLocaleAction>
MyCustomerSetLocaleActionBuilder
Example to create an instance using the builder pattern

     MyCustomerSetLocaleAction myCustomerSetLocaleAction = MyCustomerSetLocaleAction.builder()
             .build()
 
  • Constructor Details

    • MyCustomerSetLocaleActionBuilder

      public MyCustomerSetLocaleActionBuilder()
  • Method Details

    • locale

      Value to set. Must be one of the languages supported by the Project.

      Parameters:
      locale - value to be set
      Returns:
      Builder
    • getLocale

      @Nullable public String getLocale()

      Value to set. Must be one of the languages supported by the Project.

      Returns:
      locale
    • build

      public MyCustomerSetLocaleAction build()
      builds MyCustomerSetLocaleAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<MyCustomerSetLocaleAction>
      Returns:
      MyCustomerSetLocaleAction
    • buildUnchecked

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

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

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