Interface AssociateRoleUpdate
public interface AssociateRoleUpdate
AssociateRoleUpdate
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleUpdate associateRoleUpdate = AssociateRoleUpdate.builder()
.version(0.3)
.plusActions(actionsBuilder -> actionsBuilder)
.build()
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssociateRoleUpdateBuilder
builder()
builder factory method for AssociateRoleUpdatestatic AssociateRoleUpdateBuilder
builder
(AssociateRoleUpdate template) create builder for AssociateRoleUpdate instancestatic AssociateRoleUpdate
deepCopy
(AssociateRoleUpdate template) factory method to create a deep copy of AssociateRoleUpdate@NotNull @Valid List<AssociateRoleUpdateAction>
Update actions to be performed on the AssociateRole.@NotNull Long
Expected version of the AssociateRole on which the changes should be applied.static AssociateRoleUpdate
of()
factory methodstatic AssociateRoleUpdate
of
(AssociateRoleUpdate template) factory method to create a shallow copy AssociateRoleUpdatevoid
setActions
(AssociateRoleUpdateAction... actions) Update actions to be performed on the AssociateRole.void
setActions
(List<AssociateRoleUpdateAction> actions) Update actions to be performed on the AssociateRole.void
setVersion
(Long version) Expected version of the AssociateRole on which the changes should be applied.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleUpdate>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssociateRoleUpdate
(Function<AssociateRoleUpdate, T> helper) accessor map function
-
Method Details
-
getVersion
Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Returns:
- version
-
getActions
Update actions to be performed on the AssociateRole.
- Returns:
- actions
-
setVersion
Expected version of the AssociateRole on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.
- Parameters:
version
- value to be set
-
setActions
Update actions to be performed on the AssociateRole.
- Parameters:
actions
- values to be set
-
setActions
Update actions to be performed on the AssociateRole.
- Parameters:
actions
- values to be set
-
of
factory method- Returns:
- instance of AssociateRoleUpdate
-
of
factory method to create a shallow copy AssociateRoleUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
deepCopy
factory method to create a deep copy of AssociateRoleUpdate- Parameters:
template
- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleUpdate- Returns:
- builder
-
builder
create builder for AssociateRoleUpdate instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleUpdate
accessor map function- Type Parameters:
T
- mapped type- Parameters:
helper
- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-