Class AssociateRoleSetNameActionBuilder

java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleSetNameActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<AssociateRoleSetNameAction>

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

     AssociateRoleSetNameAction associateRoleSetNameAction = AssociateRoleSetNameAction.builder()
             .build()
 
  • Constructor Details

    • AssociateRoleSetNameActionBuilder

      public AssociateRoleSetNameActionBuilder()
  • Method Details

    • name

      New name to set. If name is absent or null, the existing name, if any, will be removed.

      Parameters:
      name - value to be set
      Returns:
      Builder
    • getName

      @Nullable public String getName()

      New name to set. If name is absent or null, the existing name, if any, will be removed.

      Returns:
      name
    • build

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

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

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

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