@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountLevelPermissions extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the account-level permissions settings that apply to an S3 bucket.
Constructor and Description |
---|
AccountLevelPermissions() |
Modifier and Type | Method and Description |
---|---|
AccountLevelPermissions |
clone() |
boolean |
equals(Object obj) |
BlockPublicAccess |
getBlockPublicAccess()
The block public access settings for the Amazon Web Services account that owns the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the Amazon Web Services account that owns the bucket.
|
String |
toString()
Returns a string representation of this object.
|
AccountLevelPermissions |
withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the Amazon Web Services account that owns the bucket.
|
public void setBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the Amazon Web Services account that owns the bucket.
blockPublicAccess
- The block public access settings for the Amazon Web Services account that owns the bucket.public BlockPublicAccess getBlockPublicAccess()
The block public access settings for the Amazon Web Services account that owns the bucket.
public AccountLevelPermissions withBlockPublicAccess(BlockPublicAccess blockPublicAccess)
The block public access settings for the Amazon Web Services account that owns the bucket.
blockPublicAccess
- The block public access settings for the Amazon Web Services account that owns the bucket.public String toString()
toString
in class Object
Object.toString()
public AccountLevelPermissions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.