Class Role
java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.Role
The Role definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the role.roleName()
Get the roleName property: The role name.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The description of the role.withRoleName
(String roleName) Set the roleName property: The role name.
-
Constructor Details
-
Role
public Role()Creates an instance of Role class.
-
-
Method Details
-
roleName
Get the roleName property: The role name.- Returns:
- the roleName value.
-
withRoleName
Set the roleName property: The role name.- Parameters:
roleName
- the roleName value to set.- Returns:
- the Role object itself.
-
description
Get the description property: The description of the role.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the role.- Parameters:
description
- the description value to set.- Returns:
- the Role object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-