Class AccessPolicyEntityInner


  • public final class AccessPolicyEntityInner
    extends com.azure.core.management.ProxyResource
    Access policies help define the authentication rules, and control access to specific video resources.
    • Constructor Detail

      • AccessPolicyEntityInner

        public AccessPolicyEntityInner()
    • Method Detail

      • systemData

        public com.azure.core.management.SystemData systemData()
        Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
        Returns:
        the systemData value.
      • role

        public AccessPolicyRole role()
        Get the role property: Defines the access level granted by this policy.
        Returns:
        the role value.
      • withRole

        public AccessPolicyEntityInner withRole​(AccessPolicyRole role)
        Set the role property: Defines the access level granted by this policy.
        Parameters:
        role - the role value to set.
        Returns:
        the AccessPolicyEntityInner object itself.
      • authentication

        public AuthenticationBase authentication()
        Get the authentication property: Authentication method to be used when validating client API access.
        Returns:
        the authentication value.
      • withAuthentication

        public AccessPolicyEntityInner withAuthentication​(AuthenticationBase authentication)
        Set the authentication property: Authentication method to be used when validating client API access.
        Parameters:
        authentication - the authentication value to set.
        Returns:
        the AccessPolicyEntityInner object itself.
      • validate

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