Package | Description |
---|---|
com.ibm.cloud.objectstorage.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
CORSRule |
CORSRule.withAllowedHeaders(List<String> allowedHeaders)
Sets the allowed headers of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withAllowedOrigins(List<String> allowedOrigins)
Sets the allowed origins of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withExposedHeaders(List<String> exposedHeaders)
Sets the exposeHeaders of this rule and returns a reference to this object for
method chaining.
|
CORSRule |
CORSRule.withId(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 |
---|---|
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(List<CORSRule> rules)
Sets the rules that comprise this configuration.
|
BucketCrossOriginConfiguration |
BucketCrossOriginConfiguration.withRules(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(List<CORSRule> rules)
Constructs a new
BucketCrossOriginConfiguration object with the
rules given. |
Copyright © 2024. All rights reserved.