|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.s3.model.BucketPolicy
public class BucketPolicy
Bucket policies provide access control management at the bucket level for both the bucket resource and contained object resources. Only one policy may be specified per-bucket.
Buckets have no policy text until one is explicitly specified. In other words, requesting the bucket policy for a brand new bucket will return a policy object with a null policy text.
See the Amazon S3 developer guide for more information on forming bucket polices.
| Constructor Summary | |
|---|---|
BucketPolicy()
|
|
| Method Summary | |
|---|---|
String |
getPolicyText()
Returns the raw policy JSON text, as returned by Amazon S3. |
void |
setPolicyText(String policyText)
Sets the raw policy JSON text. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BucketPolicy()
| Method Detail |
|---|
public String getPolicyText()
public void setPolicyText(String policyText)
policyText - The raw policy JSON text.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||