Class CorsRules

java.lang.Object
com.microsoft.azure.management.storage.CorsRules

public class CorsRules extends Object
Sets the CORS rules. You can include up to five CorsRule elements in the request.
  • Constructor Details

    • CorsRules

      public CorsRules()
  • Method Details

    • corsRules

      public List<CorsRule> corsRules()
      Get the List of CORS rules. You can include up to five CorsRule elements in the request.
      Returns:
      the corsRules value
    • withCorsRules

      public CorsRules withCorsRules(List<CorsRule> corsRules)
      Set the List of CORS rules. You can include up to five CorsRule elements in the request.
      Parameters:
      corsRules - the corsRules value to set
      Returns:
      the CorsRules object itself.