CorsRules Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. CorsRules
- com.
public final class CorsRules
Sets the CORS rules. You can include up to five CorsRule elements in the request.
Constructor Summary
Constructor | Description |
---|---|
CorsRules() |
Creates an instance of Cors |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Cors |
corsRules()
Get the cors |
void |
validate()
Validates the instance. |
Cors |
withCorsRules(List<CorsRule> corsRules)
Set the cors |
Methods inherited from java.lang.Object
Constructor Details
CorsRules
public CorsRules()
Creates an instance of CorsRules class.
Method Details
corsRules
public List
Get the corsRules property: The List of CORS rules. You can include up to five CorsRule elements in the request.
Returns:
validate
public void validate()
Validates the instance.
withCorsRules
public CorsRules withCorsRules(List
Set the corsRules property: The List of CORS rules. You can include up to five CorsRule elements in the request.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for