@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketPermissionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the account-level and bucket-level permissions settings for an S3 bucket.
Constructor and Description |
---|
BucketPermissionConfiguration() |
Modifier and Type | Method and Description |
---|---|
BucketPermissionConfiguration |
clone() |
boolean |
equals(Object obj) |
AccountLevelPermissions |
getAccountLevelPermissions()
The account-level permissions settings that apply to the bucket.
|
BucketLevelPermissions |
getBucketLevelPermissions()
The bucket-level permissions settings for the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountLevelPermissions(AccountLevelPermissions accountLevelPermissions)
The account-level permissions settings that apply to the bucket.
|
void |
setBucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions)
The bucket-level permissions settings for the bucket.
|
String |
toString()
Returns a string representation of this object.
|
BucketPermissionConfiguration |
withAccountLevelPermissions(AccountLevelPermissions accountLevelPermissions)
The account-level permissions settings that apply to the bucket.
|
BucketPermissionConfiguration |
withBucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions)
The bucket-level permissions settings for the bucket.
|
public void setAccountLevelPermissions(AccountLevelPermissions accountLevelPermissions)
The account-level permissions settings that apply to the bucket.
accountLevelPermissions
- The account-level permissions settings that apply to the bucket.public AccountLevelPermissions getAccountLevelPermissions()
The account-level permissions settings that apply to the bucket.
public BucketPermissionConfiguration withAccountLevelPermissions(AccountLevelPermissions accountLevelPermissions)
The account-level permissions settings that apply to the bucket.
accountLevelPermissions
- The account-level permissions settings that apply to the bucket.public void setBucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions)
The bucket-level permissions settings for the bucket.
bucketLevelPermissions
- The bucket-level permissions settings for the bucket.public BucketLevelPermissions getBucketLevelPermissions()
The bucket-level permissions settings for the bucket.
public BucketPermissionConfiguration withBucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions)
The bucket-level permissions settings for the bucket.
bucketLevelPermissions
- The bucket-level permissions settings for the bucket.public String toString()
toString
in class Object
Object.toString()
public BucketPermissionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.