Uses of Class
com.amazonaws.services.s3.model.CORSRule
-
Packages that use CORSRule Package Description com.amazonaws.services.s3.model Classes modeling the various types represented by Amazon S3. -
-
Uses of CORSRule in com.amazonaws.services.s3.model
Methods in com.amazonaws.services.s3.model that return CORSRule Modifier and Type Method Description CORSRule
CORSRule. withAllowedHeaders(List<String> allowedHeaders)
Sets the allowed headers of this rule and returns a reference to this object for method chaining.CORSRule
CORSRule. withAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of this rule and returns a reference to this object for method chaining.CORSRule
CORSRule. withAllowedOrigins(List<String> allowedOrigins)
Sets the allowed origins of this rule and returns a reference to this object for method chaining.CORSRule
CORSRule. withExposedHeaders(List<String> exposedHeaders)
Sets the exposeHeaders of this rule and returns a reference to this object for method chaining.CORSRule
CORSRule. withId(String id)
Sets the ID of this rule and returns a reference to this object for method chaining.CORSRule
CORSRule. withMaxAgeSeconds(int maxAgeSeconds)
Sets the max age in seconds of this rule and returns a reference to this object for method chaining.Methods in com.amazonaws.services.s3.model that return types with arguments of type CORSRule Modifier and Type Method Description List<CORSRule>
BucketCrossOriginConfiguration. getRules()
Returns the list of rules that comprise this configuration.Methods in com.amazonaws.services.s3.model with parameters of type CORSRule Modifier and Type Method Description BucketCrossOriginConfiguration
BucketCrossOriginConfiguration. withRules(CORSRule... rules)
Convenience array style method forBucketCrossOriginConfiguration.withRules(List)
Method parameters in com.amazonaws.services.s3.model with type arguments of type CORSRule Modifier and Type Method Description void
BucketCrossOriginConfiguration. setRules(List<CORSRule> rules)
Sets the rules that comprise this configuration.BucketCrossOriginConfiguration
BucketCrossOriginConfiguration. withRules(List<CORSRule> rules)
Sets the rules that comprise this configuration and returns a reference to this object for easy method chaining.Constructor parameters in com.amazonaws.services.s3.model with type arguments of type CORSRule Constructor Description BucketCrossOriginConfiguration(List<CORSRule> rules)
Constructs a newBucketCrossOriginConfiguration
object with the rules given.
-