Interface AssociateRoleLabel
- All Superinterfaces:
Label
AssociateRoleLabel
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
AssociateRoleLabel associateRoleLabel = AssociateRoleLabel.builder()
.key("{key}")
.name("{name}")
.build()
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic AssociateRoleLabelBuilderbuilder()builder factory method for AssociateRoleLabelstatic AssociateRoleLabelBuilderbuilder(AssociateRoleLabel template) create builder for AssociateRoleLabel instancecopyDeep()static AssociateRoleLabeldeepCopy(AssociateRoleLabel template) factory method to create a deep copy of AssociateRoleLabel@NotNull StringgetKey()User-defined unique identifier of the Associate Role.@NotNull StringgetName()Name of the Associate Role.@NotNull StringgetType()static AssociateRoleLabelof()factory methodstatic AssociateRoleLabelof(AssociateRoleLabel template) factory method to create a shallow copy AssociateRoleLabelvoidUser-defined unique identifier of the Associate Role.voidName of the Associate Role.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleLabel>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithAssociateRoleLabel(Function<AssociateRoleLabel, T> helper) accessor map function
-
Field Details
-
ASSOCIATE_ROLE_LABEL
discriminator value for AssociateRoleLabel- See Also:
-
-
Method Details
-
getType
-
getKey
User-defined unique identifier of the Associate Role.
- Returns:
- key
-
getName
Name of the Associate Role.
- Returns:
- name
-
setKey
User-defined unique identifier of the Associate Role.
- Parameters:
key- value to be set
-
setName
Name of the Associate Role.
- Parameters:
name- value to be set
-
of
factory method- Returns:
- instance of AssociateRoleLabel
-
of
factory method to create a shallow copy AssociateRoleLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
AssociateRoleLabel copyDeep() -
deepCopy
factory method to create a deep copy of AssociateRoleLabel- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for AssociateRoleLabel- Returns:
- builder
-
builder
create builder for AssociateRoleLabel instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withAssociateRoleLabel
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
-