Class CrossSiteAccessPolicies
java.lang.Object
com.azure.resourcemanager.mediaservices.models.CrossSiteAccessPolicies
The client access policy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CrossSiteAccessPolicies class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientAccessPolicy property: The content of clientaccesspolicy.xml used by Silverlight.Get the crossDomainPolicy property: The content of crossdomain.xml used by Silverlight.void
validate()
Validates the instance.withClientAccessPolicy
(String clientAccessPolicy) Set the clientAccessPolicy property: The content of clientaccesspolicy.xml used by Silverlight.withCrossDomainPolicy
(String crossDomainPolicy) Set the crossDomainPolicy property: The content of crossdomain.xml used by Silverlight.
-
Constructor Details
-
CrossSiteAccessPolicies
public CrossSiteAccessPolicies()Creates an instance of CrossSiteAccessPolicies class.
-
-
Method Details
-
clientAccessPolicy
Get the clientAccessPolicy property: The content of clientaccesspolicy.xml used by Silverlight.- Returns:
- the clientAccessPolicy value.
-
withClientAccessPolicy
Set the clientAccessPolicy property: The content of clientaccesspolicy.xml used by Silverlight.- Parameters:
clientAccessPolicy
- the clientAccessPolicy value to set.- Returns:
- the CrossSiteAccessPolicies object itself.
-
crossDomainPolicy
Get the crossDomainPolicy property: The content of crossdomain.xml used by Silverlight.- Returns:
- the crossDomainPolicy value.
-
withCrossDomainPolicy
Set the crossDomainPolicy property: The content of crossdomain.xml used by Silverlight.- Parameters:
crossDomainPolicy
- the crossDomainPolicy value to set.- Returns:
- the CrossSiteAccessPolicies object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-