Class RoleResourceFormatInner

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

public final class RoleResourceFormatInner extends com.azure.core.management.ProxyResource
The role resource format.
  • Constructor Details

    • RoleResourceFormatInner

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

    • roleName

      public String roleName()
      Get the roleName property: The role name.
      Returns:
      the roleName value.
    • withRoleName

      public RoleResourceFormatInner withRoleName(String roleName)
      Set the roleName property: The role name.
      Parameters:
      roleName - the roleName value to set.
      Returns:
      the RoleResourceFormatInner object itself.
    • description

      public String description()
      Get the description property: The description of the role.
      Returns:
      the description value.
    • withDescription

      public RoleResourceFormatInner withDescription(String description)
      Set the description property: The description of the role.
      Parameters:
      description - the description value to set.
      Returns:
      the RoleResourceFormatInner object itself.
    • validate

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