Java com.amazonaws.services.s3.model CORSRule fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.s3.model CORSRule fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.s3.model CORSRule.

The text is from its open source code.

Constructor

Method

voidsetAllowedHeaders(List allowedHeaders)
Sets the allowed headers for the rule.
voidsetAllowedHeaders(String... allowedHeaders)
Convenience array style method for #setAllowedHeaders(List)
voidsetAllowedMethods(List allowedMethods)
Sets the allowed methods of the rule.
voidsetAllowedMethods(AllowedMethods... allowedMethods)
Convenience array style method for #setAllowedMethods(List)
voidsetAllowedOrigins(List allowedOrigins)
Sets the allowed origins of the rule.
voidsetAllowedOrigins(String... allowedOrigins)
Convenience array style method for #setAllowedOrigins(List)
voidsetExposedHeaders(List exposedHeaders)
Sets the expose headers of the rule.
voidsetExposedHeaders(String... exposedHeaders)
Convenience array style method for #setExposedHeaders(List)
voidsetId(String id)
Sets the ID of this rule.
voidsetMaxAgeSeconds(int maxAgeSeconds)
Sets the max age in seconds of the rule.