Class CorsRules
java.lang.Object
com.azure.resourcemanager.storage.models.CorsRules
Sets the CORS rules. You can include up to five CorsRule elements in the request.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CorsRules
public CorsRules()
-
-
Method Details
-
corsRules
Get the corsRules property: The List of CORS rules. You can include up to five CorsRule elements in the request.- Returns:
- the corsRules value.
-
withCorsRules
Set the corsRules property: 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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-