Class AssociateRoleSetNameActionBuilder
java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleSetNameActionBuilder
- All Implemented Interfaces:
Builder<AssociateRoleSetNameAction>
public class AssociateRoleSetNameActionBuilder
extends Object
implements Builder<AssociateRoleSetNameAction>
AssociateRoleSetNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleSetNameAction associateRoleSetNameAction = AssociateRoleSetNameAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AssociateRoleSetNameAction with checking for non-null required valuesbuilds AssociateRoleSetNameAction without checking for non-null required valuesgetName()
New name to set.New name to set.of()
factory method for an instance of AssociateRoleSetNameActionBuilderof
(AssociateRoleSetNameAction template) create builder for AssociateRoleSetNameAction instance
-
Constructor Details
-
AssociateRoleSetNameActionBuilder
public AssociateRoleSetNameActionBuilder()
-
-
Method Details
-
name
New name to set. If
name
is absent ornull
, the existing name, if any, will be removed.- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
New name to set. If
name
is absent ornull
, the existing name, if any, will be removed.- Returns:
- name
-
build
builds AssociateRoleSetNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<AssociateRoleSetNameAction>
- Returns:
- 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
-