AccessPolicyEntityInner Class

public final class AccessPolicyEntityInner
extends ProxyResource

Access policies help define the authentication rules, and control access to specific video resources.

Constructor Summary

Constructor Description
AccessPolicyEntityInner()

Method Summary

Modifier and Type Method and 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.

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.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AccessPolicyEntityInner

public AccessPolicyEntityInner()

Method Details

authentication

public AuthenticationBase authentication()

Get the authentication property: Authentication method to be used when validating client API access.

Returns:

the authentication value.

role

public AccessPolicyRole role()

Get the role property: Defines the access level granted by this policy.

Returns:

the role value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

validate

public void validate()

Validates the instance.

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.

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.

Applies to