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)
Deprecated.
|
BucketInfo.IamConfiguration.Builder |
setIsUniformBucketLevelAccessEnabled(Boolean isUniformBucketLevelAccessEnabled)
Sets whether uniform bucket-level access is enabled for this bucket.
|
@Deprecated public BucketInfo.IamConfiguration.Builder setIsBucketPolicyOnlyEnabled(Boolean isBucketPolicyOnlyEnabled)
public BucketInfo.IamConfiguration.Builder setIsUniformBucketLevelAccessEnabled(Boolean isUniformBucketLevelAccessEnabled)
uniformBucketLevelAccess.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.