primary
A Boolean value representing whether this is the primary role for the associated resource.
- Returns:
- A Boolean value representing whether this is the primary role for the associated resource.
Serializable, SdkPojo, ToCopyableBuilder<Role.Builder,Role> The role associated with the user.
static Role.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T> getValueForField(String fieldName,
Class<T> clazz) final inthashCode()final Booleanprimary()static Class<? extends Role.Builder> final StringtoString()final Stringtype()final Stringvalue()copyA string containing a role name. For example, "Researcher."
A string representing the type of role. For example, "Work."
A Boolean value representing whether this is the primary role for the associated resource.
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Role.Builder,Role> SdkPojoSdkPojo class,
and is generated based on a service model.
If an SdkPojo class does not have any inherited fields, equalsBySdkFields
and equals are essentially the same.
equalsBySdkFields in interface SdkPojoobj - the object to be compared withsdkFieldNameToField in interface SdkPojo