Class AssociateRoleNameChangedMessagePayloadBuilder
java.lang.Object
com.commercetools.api.models.message.AssociateRoleNameChangedMessagePayloadBuilder
- All Implemented Interfaces:
Builder<AssociateRoleNameChangedMessagePayload>
public class AssociateRoleNameChangedMessagePayloadBuilder
extends Object
implements Builder<AssociateRoleNameChangedMessagePayload>
AssociateRoleNameChangedMessagePayloadBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleNameChangedMessagePayload associateRoleNameChangedMessagePayload = AssociateRoleNameChangedMessagePayload.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AssociateRoleNameChangedMessagePayload with checking for non-null required valuesbuilds AssociateRoleNameChangedMessagePayload without checking for non-null required valuesgetName()
Updated name of the AssociateRole.Updated name of the AssociateRole.of()
factory method for an instance of AssociateRoleNameChangedMessagePayloadBuilderof
(AssociateRoleNameChangedMessagePayload template) create builder for AssociateRoleNameChangedMessagePayload instance
-
Constructor Details
-
AssociateRoleNameChangedMessagePayloadBuilder
public AssociateRoleNameChangedMessagePayloadBuilder()
-
-
Method Details
-
name
Updated name of the AssociateRole.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
Updated name of the AssociateRole.
- Returns:
- name
-
build
builds AssociateRoleNameChangedMessagePayload with checking for non-null required values- Specified by:
build
in interfaceBuilder<AssociateRoleNameChangedMessagePayload>
- Returns:
- AssociateRoleNameChangedMessagePayload
-
buildUnchecked
builds AssociateRoleNameChangedMessagePayload without checking for non-null required values- Returns:
- AssociateRoleNameChangedMessagePayload
-
of
factory method for an instance of AssociateRoleNameChangedMessagePayloadBuilder- Returns:
- builder
-
of
public static AssociateRoleNameChangedMessagePayloadBuilder of(AssociateRoleNameChangedMessagePayload template) create builder for AssociateRoleNameChangedMessagePayload instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-