public class BucketLogging extends Object
Constructor and Description |
---|
BucketLogging(String targetBucket,
String targetPrefix) |
BucketLogging(String targetBucket,
String targetPrefix,
Iterable<AccessControlList.Grant> targetGrants) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getTargetBucket()
Specifies the bucket where server access logs will be delivered.
|
Set<AccessControlList.Grant> |
getTargetGrants()
The bucket owner is automatically granted FULL_CONTROL to all logs delivered to the bucket.
|
String |
getTargetPrefix()
This element lets you specify a prefix for the keys that the delivered log files will be
stored under.
|
int |
hashCode() |
String |
toString() |
public BucketLogging(String targetBucket, String targetPrefix, Iterable<AccessControlList.Grant> targetGrants)
targetBucket
- getTargetBucket()
targetPrefix
- getTargetPrefix()
targetGrants
- getTargetGrants()
public BucketLogging(String targetBucket, String targetPrefix)
targetBucket
- getTargetBucket()
targetPrefix
- getTargetPrefix()
public Set<AccessControlList.Grant> getTargetGrants()
public String getTargetBucket()
public String getTargetPrefix()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.