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