Class RoleAssignmentResourceFormatInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.customerinsights.fluent.models.RoleAssignmentResourceFormatInner

public final class RoleAssignmentResourceFormatInner extends com.azure.core.management.ProxyResource
The Role Assignment resource format.
  • Constructor Details

    • RoleAssignmentResourceFormatInner

      public RoleAssignmentResourceFormatInner()
      Creates an instance of RoleAssignmentResourceFormatInner class.
  • Method Details

    • tenantId

      public String tenantId()
      Get the tenantId property: The hub name.
      Returns:
      the tenantId value.
    • assignmentName

      public String assignmentName()
      Get the assignmentName property: The name of the metadata object.
      Returns:
      the assignmentName value.
    • displayName

      public Map<String,String> displayName()
      Get the displayName property: Localized display names for the metadata.
      Returns:
      the displayName value.
    • withDisplayName

      public RoleAssignmentResourceFormatInner withDisplayName(Map<String,String> displayName)
      Set the displayName property: Localized display names for the metadata.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • description

      public Map<String,String> description()
      Get the description property: Localized description for the metadata.
      Returns:
      the description value.
    • withDescription

      public RoleAssignmentResourceFormatInner withDescription(Map<String,String> description)
      Set the description property: Localized description for the metadata.
      Parameters:
      description - the description value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • provisioningState

      public ProvisioningStates provisioningState()
      Get the provisioningState property: Provisioning state.
      Returns:
      the provisioningState value.
    • role

      public RoleTypes 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 RoleAssignmentResourceFormatInner object itself.
    • principals

      public List<AssignmentPrincipal> principals()
      Get the principals property: The principals being assigned to.
      Returns:
      the principals value.
    • withPrincipals

      public RoleAssignmentResourceFormatInner withPrincipals(List<AssignmentPrincipal> principals)
      Set the principals property: The principals being assigned to.
      Parameters:
      principals - the principals value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • profiles

      public ResourceSetDescription 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 RoleAssignmentResourceFormatInner object itself.
    • interactions

      public ResourceSetDescription interactions()
      Get the interactions property: Interactions set for the assignment.
      Returns:
      the interactions value.
    • withInteractions

      public RoleAssignmentResourceFormatInner withInteractions(ResourceSetDescription interactions)
      Set the interactions property: Interactions set for the assignment.
      Parameters:
      interactions - the interactions value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • links

      public ResourceSetDescription 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 RoleAssignmentResourceFormatInner object itself.
    • kpis

      public ResourceSetDescription 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 RoleAssignmentResourceFormatInner object itself.
    • sasPolicies

      public ResourceSetDescription sasPolicies()
      Get the sasPolicies property: Sas Policies set for the assignment.
      Returns:
      the sasPolicies value.
    • withSasPolicies

      public RoleAssignmentResourceFormatInner withSasPolicies(ResourceSetDescription sasPolicies)
      Set the sasPolicies property: Sas Policies set for the assignment.
      Parameters:
      sasPolicies - the sasPolicies value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • connectors

      public ResourceSetDescription connectors()
      Get the connectors property: Connectors set for the assignment.
      Returns:
      the connectors value.
    • withConnectors

      public RoleAssignmentResourceFormatInner withConnectors(ResourceSetDescription connectors)
      Set the connectors property: Connectors set for the assignment.
      Parameters:
      connectors - the connectors value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • views

      public ResourceSetDescription 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 RoleAssignmentResourceFormatInner object itself.
    • relationshipLinks

      public ResourceSetDescription relationshipLinks()
      Get the relationshipLinks property: The Role assignments set for the relationship links.
      Returns:
      the relationshipLinks value.
    • withRelationshipLinks

      public RoleAssignmentResourceFormatInner withRelationshipLinks(ResourceSetDescription relationshipLinks)
      Set the relationshipLinks property: The Role assignments set for the relationship links.
      Parameters:
      relationshipLinks - the relationshipLinks value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • relationships

      public ResourceSetDescription relationships()
      Get the relationships property: The Role assignments set for the relationships.
      Returns:
      the relationships value.
    • withRelationships

      public RoleAssignmentResourceFormatInner withRelationships(ResourceSetDescription relationships)
      Set the relationships property: The Role assignments set for the relationships.
      Parameters:
      relationships - the relationships value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • widgetTypes

      public ResourceSetDescription widgetTypes()
      Get the widgetTypes property: Widget types set for the assignment.
      Returns:
      the widgetTypes value.
    • withWidgetTypes

      public RoleAssignmentResourceFormatInner withWidgetTypes(ResourceSetDescription widgetTypes)
      Set the widgetTypes property: Widget types set for the assignment.
      Parameters:
      widgetTypes - the widgetTypes value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • roleAssignments

      public ResourceSetDescription roleAssignments()
      Get the roleAssignments property: The Role assignments set for the assignment.
      Returns:
      the roleAssignments value.
    • withRoleAssignments

      public RoleAssignmentResourceFormatInner withRoleAssignments(ResourceSetDescription roleAssignments)
      Set the roleAssignments property: The Role assignments set for the assignment.
      Parameters:
      roleAssignments - the roleAssignments value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • conflationPolicies

      public ResourceSetDescription conflationPolicies()
      Get the conflationPolicies property: Widget types set for the assignment.
      Returns:
      the conflationPolicies value.
    • withConflationPolicies

      public RoleAssignmentResourceFormatInner withConflationPolicies(ResourceSetDescription conflationPolicies)
      Set the conflationPolicies property: Widget types set for the assignment.
      Parameters:
      conflationPolicies - the conflationPolicies value to set.
      Returns:
      the RoleAssignmentResourceFormatInner object itself.
    • segments

      public ResourceSetDescription 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 RoleAssignmentResourceFormatInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.