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
-
Method Summary
Modifier and TypeMethodDescriptionstatic AssociateRoleLabelBuilder
builder()
builder factory method for AssociateRoleLabelstatic AssociateRoleLabelBuilder
builder
(AssociateRoleLabel template) create builder for AssociateRoleLabel instancestatic AssociateRoleLabel
deepCopy
(AssociateRoleLabel template) factory method to create a deep copy of AssociateRoleLabel@NotNull String
getKey()
User-defined unique identifier of the Associate Role.@NotNull String
getName()
Name of the Associate Role.@NotNull String
getType()
static AssociateRoleLabel
of()
factory methodstatic AssociateRoleLabel
of
(AssociateRoleLabel template) factory method to create a shallow copy AssociateRoleLabelvoid
User-defined unique identifier of the Associate Role.void
Name of the Associate Role.static com.fasterxml.jackson.core.type.TypeReference<AssociateRoleLabel>
gives a TypeReference for usage with Jackson DataBinddefault <T> T
withAssociateRoleLabel
(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
-
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
-