@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:37.001Z") @Stability(value=Experimental) public enum ObjectOwnership extends Enum<ObjectOwnership>
https://docs.aws.amazon.com/AmazonS3/latest/dev/about-object-ownership.html| Enum Constant and Description |
|---|
BUCKET_OWNER_PREFERRED
(experimental) Objects uploaded to the bucket change ownership to the bucket owner .
|
OBJECT_WRITER
(experimental) The uploading account will own the object.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectOwnership |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectOwnership[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final ObjectOwnership BUCKET_OWNER_PREFERRED
@Stability(value=Experimental) public static final ObjectOwnership OBJECT_WRITER
public static ObjectOwnership[] values()
for (ObjectOwnership c : ObjectOwnership.values()) System.out.println(c);
public static ObjectOwnership valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.