public static class BucketInfo.IamConfiguration.Builder extends Object
IamConfiguration
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BucketInfo.IamConfiguration |
build()
Builds an
IamConfiguration object |
BucketInfo.IamConfiguration.Builder |
setIsBucketPolicyOnlyEnabled(Boolean isBucketPolicyOnlyEnabled)
Sets whether BucketPolicyOnly is enabled for this bucket.
|
public BucketInfo.IamConfiguration.Builder setIsBucketPolicyOnlyEnabled(Boolean isBucketPolicyOnlyEnabled)
bucketPolicyOnly.lockedTime
will be set by the API automatically.
This field can then be disabled until the time specified, after which it will become
immutable and calls to change it will fail. If this is enabled, calls to access legacy ACL
information will fail.public BucketInfo.IamConfiguration build()
IamConfiguration
objectCopyright © 2019 Google LLC. All rights reserved.