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 CORSRuleCORSRule. withAllowedHeaders(List<String> allowedHeaders)Sets the allowed headers of this rule and returns a reference to this object for method chaining.CORSRuleCORSRule. withAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)Sets the allowed methods of this rule and returns a reference to this object for method chaining.CORSRuleCORSRule. withAllowedOrigins(List<String> allowedOrigins)Sets the allowed origins of this rule and returns a reference to this object for method chaining.CORSRuleCORSRule. withExposedHeaders(List<String> exposedHeaders)Sets the exposeHeaders of this rule and returns a reference to this object for method chaining.CORSRuleCORSRule. withId(String id)Sets the ID of this rule and returns a reference to this object for method chaining.CORSRuleCORSRule. 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 BucketCrossOriginConfigurationBucketCrossOriginConfiguration. 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 voidBucketCrossOriginConfiguration. setRules(List<CORSRule> rules)Sets the rules that comprise this configuration.BucketCrossOriginConfigurationBucketCrossOriginConfiguration. 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 newBucketCrossOriginConfigurationobject with the rules given.
-