Class AssociateRoleRemovePermissionActionBuilder
java.lang.Object
com.commercetools.api.models.associate_role.AssociateRoleRemovePermissionActionBuilder
- All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<AssociateRoleRemovePermissionAction>
public class AssociateRoleRemovePermissionActionBuilder
extends Object
implements io.vrap.rmf.base.client.Builder<AssociateRoleRemovePermissionAction>
AssociateRoleRemovePermissionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleRemovePermissionAction associateRoleRemovePermissionAction = AssociateRoleRemovePermissionAction.builder()
.permission(Permission.ADD_CHILD_UNITS)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds AssociateRoleRemovePermissionAction with checking for non-null required valuesbuilds AssociateRoleRemovePermissionAction without checking for non-null required valuesPermission to be removed from the AssociateRole.of()
factory method for an instance of AssociateRoleRemovePermissionActionBuilderof
(AssociateRoleRemovePermissionAction template) create builder for AssociateRoleRemovePermissionAction instancepermission
(Permission permission) Permission to be removed from the AssociateRole.
-
Constructor Details
-
AssociateRoleRemovePermissionActionBuilder
public AssociateRoleRemovePermissionActionBuilder()
-
-
Method Details
-
permission
Permission to be removed from the AssociateRole.
- Parameters:
permission
- value to be set- Returns:
- Builder
-
getPermission
Permission to be removed from the AssociateRole.
- Returns:
- permission
-
build
builds AssociateRoleRemovePermissionAction with checking for non-null required values- Specified by:
build
in interfaceio.vrap.rmf.base.client.Builder<AssociateRoleRemovePermissionAction>
- Returns:
- AssociateRoleRemovePermissionAction
-
buildUnchecked
builds AssociateRoleRemovePermissionAction without checking for non-null required values- Returns:
- AssociateRoleRemovePermissionAction
-
of
factory method for an instance of AssociateRoleRemovePermissionActionBuilder- Returns:
- builder
-
of
public static AssociateRoleRemovePermissionActionBuilder of(AssociateRoleRemovePermissionAction template) create builder for AssociateRoleRemovePermissionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-