|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.s3.domain.BucketLogging
public class BucketLogging
Each Amazon S3 bucket has an associated XML sub-resource that you can read and write in order to inspect or change the logging status for that bucket.
| Constructor Summary | |
|---|---|
BucketLogging(String targetBucket,
String targetPrefix)
|
|
BucketLogging(String targetBucket,
String targetPrefix,
Iterable<AccessControlList.Grant> targetGrants)
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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()| Method Detail |
|---|
public Set<AccessControlList.Grant> getTargetGrants()
public String getTargetBucket()
public String getTargetPrefix()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||