Package com.emc.object.s3.bean
Class BucketPolicy
- java.lang.Object
-
- com.emc.object.s3.bean.BucketPolicy
-
public class BucketPolicy extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BucketPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getId()
java.util.List<BucketPolicyStatement>
getStatements()
java.lang.String
getVersion()
int
hashCode()
void
setId(java.lang.String id)
void
setStatements(java.util.List<BucketPolicyStatement> statements)
void
setVersion(java.lang.String version)
BucketPolicy
withId(java.lang.String id)
BucketPolicy
withStatements(BucketPolicyStatement... statements)
BucketPolicy
withStatements(java.util.List<BucketPolicyStatement> statement)
BucketPolicy
withVersion(java.lang.String version)
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getVersion
public java.lang.String getVersion()
-
setVersion
public void setVersion(java.lang.String version)
-
getStatements
public java.util.List<BucketPolicyStatement> getStatements()
-
setStatements
public void setStatements(java.util.List<BucketPolicyStatement> statements)
-
withId
public BucketPolicy withId(java.lang.String id)
-
withVersion
public BucketPolicy withVersion(java.lang.String version)
-
withStatements
public BucketPolicy withStatements(java.util.List<BucketPolicyStatement> statement)
-
withStatements
public BucketPolicy withStatements(BucketPolicyStatement... statements)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-