Example usage for Java com.amazonaws.services.s3.model CORSRule fields, constructors, methods, implement or subclass
The text is from its open source code.
void | setAllowedHeaders(List Sets the allowed headers for the rule. |
void | setAllowedHeaders(String... allowedHeaders) Convenience array style method for #setAllowedHeaders(List) |
void | setAllowedMethods(List Sets the allowed methods of the rule. |
void | setAllowedMethods(AllowedMethods... allowedMethods) Convenience array style method for #setAllowedMethods(List) |
void | setAllowedOrigins(List Sets the allowed origins of the rule. |
void | setAllowedOrigins(String... allowedOrigins) Convenience array style method for #setAllowedOrigins(List) |
void | setExposedHeaders(List Sets the expose headers of the rule. |
void | setExposedHeaders(String... exposedHeaders) Convenience array style method for #setExposedHeaders(List) |
void | setId(String id) Sets the ID of this rule. |
void | setMaxAgeSeconds(int maxAgeSeconds) Sets the max age in seconds of the rule. |