public class BucketCrossOriginConfiguration extends Object implements Serializable
Constructor and Description |
---|
BucketCrossOriginConfiguration() |
BucketCrossOriginConfiguration(List<CORSRule> rules)
Constructs a new
BucketCrossOriginConfiguration object with the
rules given. |
Modifier and Type | Method and Description |
---|---|
List<CORSRule> |
getRules()
Returns the list of rules that comprise this configuration.
|
void |
setRules(List<CORSRule> rules)
Sets the rules that comprise this configuration.
|
BucketCrossOriginConfiguration |
withRules(CORSRule... rules)
Convenience array style method for
withRules(List) |
BucketCrossOriginConfiguration |
withRules(List<CORSRule> rules)
Sets the rules that comprise this configuration and returns a reference
to this object for easy method chaining.
|
public BucketCrossOriginConfiguration(List<CORSRule> rules)
BucketCrossOriginConfiguration
object with the
rules given.rules
- public BucketCrossOriginConfiguration()
public List<CORSRule> getRules()
public void setRules(List<CORSRule> rules)
public BucketCrossOriginConfiguration withRules(List<CORSRule> rules)
public BucketCrossOriginConfiguration withRules(CORSRule... rules)
withRules(List)
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.