Class CrossSiteAccessPolicies

java.lang.Object
com.azure.resourcemanager.mediaservices.models.CrossSiteAccessPolicies

public final class CrossSiteAccessPolicies extends Object
The client access policy.
  • Constructor Details

    • CrossSiteAccessPolicies

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

    • clientAccessPolicy

      public String clientAccessPolicy()
      Get the clientAccessPolicy property: The content of clientaccesspolicy.xml used by Silverlight.
      Returns:
      the clientAccessPolicy value.
    • withClientAccessPolicy

      public CrossSiteAccessPolicies withClientAccessPolicy(String clientAccessPolicy)
      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

      public String crossDomainPolicy()
      Get the crossDomainPolicy property: The content of crossdomain.xml used by Silverlight.
      Returns:
      the crossDomainPolicy value.
    • withCrossDomainPolicy

      public CrossSiteAccessPolicies withCrossDomainPolicy(String crossDomainPolicy)
      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.