Class RoleAssignment
java.lang.Object
com.azure.resourcemanager.customerinsights.fluent.models.RoleAssignment
The Role Assignment definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the assignmentName property: The name of the metadata object.Get the conflationPolicies property: Widget types set for the assignment.Get the connectors property: Connectors set for the assignment.Get the description property: Localized description for the metadata.Get the displayName property: Localized display names for the metadata.Get the interactions property: Interactions set for the assignment.kpis()
Get the kpis property: Kpis set for the assignment.links()
Get the links property: Links set for the assignment.Get the principals property: The principals being assigned to.profiles()
Get the profiles property: Profiles set for the assignment.Get the provisioningState property: Provisioning state.Get the relationshipLinks property: The Role assignments set for the relationship links.Get the relationships property: The Role assignments set for the relationships.role()
Get the role property: Type of roles.Get the roleAssignments property: The Role assignments set for the assignment.Get the sasPolicies property: Sas Policies set for the assignment.segments()
Get the segments property: The Role assignments set for the assignment.tenantId()
Get the tenantId property: The hub name.void
validate()
Validates the instance.views()
Get the views property: Views set for the assignment.Get the widgetTypes property: Widget types set for the assignment.withConflationPolicies
(ResourceSetDescription conflationPolicies) Set the conflationPolicies property: Widget types set for the assignment.withConnectors
(ResourceSetDescription connectors) Set the connectors property: Connectors set for the assignment.withDescription
(Map<String, String> description) Set the description property: Localized description for the metadata.withDisplayName
(Map<String, String> displayName) Set the displayName property: Localized display names for the metadata.withInteractions
(ResourceSetDescription interactions) Set the interactions property: Interactions set for the assignment.Set the kpis property: Kpis set for the assignment.withLinks
(ResourceSetDescription links) Set the links property: Links set for the assignment.withPrincipals
(List<AssignmentPrincipal> principals) Set the principals property: The principals being assigned to.withProfiles
(ResourceSetDescription profiles) Set the profiles property: Profiles set for the assignment.withRelationshipLinks
(ResourceSetDescription relationshipLinks) Set the relationshipLinks property: The Role assignments set for the relationship links.withRelationships
(ResourceSetDescription relationships) Set the relationships property: The Role assignments set for the relationships.Set the role property: Type of roles.withRoleAssignments
(ResourceSetDescription roleAssignments) Set the roleAssignments property: The Role assignments set for the assignment.withSasPolicies
(ResourceSetDescription sasPolicies) Set the sasPolicies property: Sas Policies set for the assignment.withSegments
(ResourceSetDescription segments) Set the segments property: The Role assignments set for the assignment.withViews
(ResourceSetDescription views) Set the views property: Views set for the assignment.withWidgetTypes
(ResourceSetDescription widgetTypes) Set the widgetTypes property: Widget types set for the assignment.
-
Constructor Details
-
RoleAssignment
public RoleAssignment()Creates an instance of RoleAssignment class.
-
-
Method Details
-
tenantId
Get the tenantId property: The hub name.- Returns:
- the tenantId value.
-
assignmentName
Get the assignmentName property: The name of the metadata object.- Returns:
- the assignmentName value.
-
displayName
Get the displayName property: Localized display names for the metadata.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Localized display names for the metadata.- Parameters:
displayName
- the displayName value to set.- Returns:
- the RoleAssignment object itself.
-
description
Get the description property: Localized description for the metadata.- Returns:
- the description value.
-
withDescription
Set the description property: Localized description for the metadata.- Parameters:
description
- the description value to set.- Returns:
- the RoleAssignment object itself.
-
provisioningState
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
role
Get the role property: Type of roles.- Returns:
- the role value.
-
withRole
Set the role property: Type of roles.- Parameters:
role
- the role value to set.- Returns:
- the RoleAssignment object itself.
-
principals
Get the principals property: The principals being assigned to.- Returns:
- the principals value.
-
withPrincipals
Set the principals property: The principals being assigned to.- Parameters:
principals
- the principals value to set.- Returns:
- the RoleAssignment object itself.
-
profiles
Get the profiles property: Profiles set for the assignment.- Returns:
- the profiles value.
-
withProfiles
Set the profiles property: Profiles set for the assignment.- Parameters:
profiles
- the profiles value to set.- Returns:
- the RoleAssignment object itself.
-
interactions
Get the interactions property: Interactions set for the assignment.- Returns:
- the interactions value.
-
withInteractions
Set the interactions property: Interactions set for the assignment.- Parameters:
interactions
- the interactions value to set.- Returns:
- the RoleAssignment object itself.
-
links
Get the links property: Links set for the assignment.- Returns:
- the links value.
-
withLinks
Set the links property: Links set for the assignment.- Parameters:
links
- the links value to set.- Returns:
- the RoleAssignment object itself.
-
kpis
Get the kpis property: Kpis set for the assignment.- Returns:
- the kpis value.
-
withKpis
Set the kpis property: Kpis set for the assignment.- Parameters:
kpis
- the kpis value to set.- Returns:
- the RoleAssignment object itself.
-
sasPolicies
Get the sasPolicies property: Sas Policies set for the assignment.- Returns:
- the sasPolicies value.
-
withSasPolicies
Set the sasPolicies property: Sas Policies set for the assignment.- Parameters:
sasPolicies
- the sasPolicies value to set.- Returns:
- the RoleAssignment object itself.
-
connectors
Get the connectors property: Connectors set for the assignment.- Returns:
- the connectors value.
-
withConnectors
Set the connectors property: Connectors set for the assignment.- Parameters:
connectors
- the connectors value to set.- Returns:
- the RoleAssignment object itself.
-
views
Get the views property: Views set for the assignment.- Returns:
- the views value.
-
withViews
Set the views property: Views set for the assignment.- Parameters:
views
- the views value to set.- Returns:
- the RoleAssignment object itself.
-
relationshipLinks
Get the relationshipLinks property: The Role assignments set for the relationship links.- Returns:
- the relationshipLinks value.
-
withRelationshipLinks
Set the relationshipLinks property: The Role assignments set for the relationship links.- Parameters:
relationshipLinks
- the relationshipLinks value to set.- Returns:
- the RoleAssignment object itself.
-
relationships
Get the relationships property: The Role assignments set for the relationships.- Returns:
- the relationships value.
-
withRelationships
Set the relationships property: The Role assignments set for the relationships.- Parameters:
relationships
- the relationships value to set.- Returns:
- the RoleAssignment object itself.
-
widgetTypes
Get the widgetTypes property: Widget types set for the assignment.- Returns:
- the widgetTypes value.
-
withWidgetTypes
Set the widgetTypes property: Widget types set for the assignment.- Parameters:
widgetTypes
- the widgetTypes value to set.- Returns:
- the RoleAssignment object itself.
-
roleAssignments
Get the roleAssignments property: The Role assignments set for the assignment.- Returns:
- the roleAssignments value.
-
withRoleAssignments
Set the roleAssignments property: The Role assignments set for the assignment.- Parameters:
roleAssignments
- the roleAssignments value to set.- Returns:
- the RoleAssignment object itself.
-
conflationPolicies
Get the conflationPolicies property: Widget types set for the assignment.- Returns:
- the conflationPolicies value.
-
withConflationPolicies
Set the conflationPolicies property: Widget types set for the assignment.- Parameters:
conflationPolicies
- the conflationPolicies value to set.- Returns:
- the RoleAssignment object itself.
-
segments
Get the segments property: The Role assignments set for the assignment.- Returns:
- the segments value.
-
withSegments
Set the segments property: The Role assignments set for the assignment.- Parameters:
segments
- the segments value to set.- Returns:
- the RoleAssignment object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-