Class AccessPolicyEntityInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.videoanalyzer.fluent.models.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 Summary
Constructors Constructor Description AccessPolicyEntityInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationBase
authentication()
Get the authentication property: Authentication method to be used when validating client API access.AccessPolicyRole
role()
Get the role property: Defines the access level granted by this policy.com.azure.core.management.SystemData
systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.void
validate()
Validates the instance.AccessPolicyEntityInner
withAuthentication(AuthenticationBase authentication)
Set the authentication property: Authentication method to be used when validating client API access.AccessPolicyEntityInner
withRole(AccessPolicyRole role)
Set the role property: Defines the access level granted by this policy.
-
-
-
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.
-
-