Package | Description |
---|---|
com.amazonaws.services.s3.model |
Classes modeling the various types represented by Amazon S3.
|
Modifier and Type | Method and Description |
---|---|
static CORSRule.AllowedMethods |
CORSRule.AllowedMethods.fromValue(String allowedMethod) |
static CORSRule.AllowedMethods |
CORSRule.AllowedMethods.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CORSRule.AllowedMethods[] |
CORSRule.AllowedMethods.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<CORSRule.AllowedMethods> |
CORSRule.getAllowedMethods()
Returns the allowed methods of this rule.
|
Modifier and Type | Method and Description |
---|---|
void |
CORSRule.setAllowedMethods(CORSRule.AllowedMethods... allowedMethods)
Convenience array style method for
CORSRule.setAllowedMethods(List) |
Modifier and Type | Method and Description |
---|---|
void |
CORSRule.setAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of the rule.
|
CORSRule |
CORSRule.withAllowedMethods(List<CORSRule.AllowedMethods> allowedMethods)
Sets the allowed methods of this rule and returns a reference to this object for
method chaining.
|
Copyright © 2022. All rights reserved.