Uses of Class
com.amazonaws.services.s3.model.CORSRule
Packages that use CORSRule
Package
Description
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 CORSRuleModifier and TypeMethodDescriptionCORSRule.withAllowedHeaders
(List<String> allowedHeaders) Sets the allowed headers of this rule and returns a reference to this object for method chaining.CORSRule.withAllowedMethods
(List<CORSRule.AllowedMethods> allowedMethods) Sets the allowed methods of this rule and returns a reference to this object for method chaining.CORSRule.withAllowedOrigins
(List<String> allowedOrigins) Sets the allowed origins of this rule and returns a reference to this object for method chaining.CORSRule.withExposedHeaders
(List<String> exposedHeaders) Sets the exposeHeaders of this rule and returns a reference to this object for method chaining.Sets the ID of this rule and returns a reference to this object for method chaining.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 CORSRuleModifier and TypeMethodDescriptionBucketCrossOriginConfiguration.getRules()
Returns the list of rules that comprise this configuration.Methods in com.amazonaws.services.s3.model with parameters of type CORSRuleModifier and TypeMethodDescriptionConvenience array style method forBucketCrossOriginConfiguration.withRules(List)
Method parameters in com.amazonaws.services.s3.model with type arguments of type CORSRuleModifier and TypeMethodDescriptionvoid
Sets the rules that comprise this configuration.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 CORSRuleModifierConstructorDescriptionConstructs a newBucketCrossOriginConfiguration
object with the rules given.