Package | Description |
---|---|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
com.amazonaws.services.s3.model.transform |
Modifier and Type | Field and Description |
---|---|
private java.util.List<CORSRule> |
BucketCrossOriginConfiguration.rules |
Modifier and Type | Method and Description |
---|---|
CORSRule |
CORSRule.withAllowedHeaders(java.util.List<java.lang.String> allowedHeaders)
Sets the allowed headers of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withAllowedMethods(java.util.List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withAllowedOrigins(java.util.List<java.lang.String> allowedOrigins)
Sets the allowed origins of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withExposedHeaders(java.util.List<java.lang.String> exposedHeaders)
Sets the exposeHeaders of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withId(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<CORSRule> |
BucketCrossOriginConfiguration.getRules()
Returns the list of rules that comprise this configuration.
|
Modifier and Type | Method and Description |
---|---|
BucketCrossOriginConfiguration |
BucketCrossOriginConfiguration.withRules(CORSRule... rules)
Convenience array style method for
BucketCrossOriginConfiguration.withRules(List) |
Modifier and Type | Method and Description |
---|---|
void |
BucketCrossOriginConfiguration.setRules(java.util.List<CORSRule> rules)
Sets the rules that comprise this configuration.
|
BucketCrossOriginConfiguration |
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.
|
Constructor and Description |
---|
BucketCrossOriginConfiguration(java.util.List<CORSRule> rules)
Constructs a new
BucketCrossOriginConfiguration object with the
rules given. |
Modifier and Type | Field and Description |
---|---|
private CORSRule |
XmlResponsesSaxParser.BucketCrossOriginConfigurationHandler.currentRule |
Modifier and Type | Method and Description |
---|---|
private void |
BucketConfigurationXmlFactory.writeRule(XmlWriter xml,
CORSRule rule) |