Interface BucketPermissionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BucketPermissionConfiguration.Builder,,BucketPermissionConfiguration> SdkBuilder<BucketPermissionConfiguration.Builder,,BucketPermissionConfiguration> SdkPojo
- Enclosing class:
BucketPermissionConfiguration
public static interface BucketPermissionConfiguration.Builder
extends SdkPojo, CopyableBuilder<BucketPermissionConfiguration.Builder,BucketPermissionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionaccountLevelPermissions(Consumer<AccountLevelPermissions.Builder> accountLevelPermissions) The account-level permissions settings that apply to the bucket.accountLevelPermissions(AccountLevelPermissions accountLevelPermissions) The account-level permissions settings that apply to the bucket.bucketLevelPermissions(Consumer<BucketLevelPermissions.Builder> bucketLevelPermissions) The bucket-level permissions settings for the bucket.bucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions) The bucket-level permissions settings for the bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountLevelPermissions
BucketPermissionConfiguration.Builder accountLevelPermissions(AccountLevelPermissions accountLevelPermissions) The account-level permissions settings that apply to the bucket.
- Parameters:
accountLevelPermissions- The account-level permissions settings that apply to the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLevelPermissions
default BucketPermissionConfiguration.Builder accountLevelPermissions(Consumer<AccountLevelPermissions.Builder> accountLevelPermissions) The account-level permissions settings that apply to the bucket.
This is a convenience method that creates an instance of theAccountLevelPermissions.Builderavoiding the need to create one manually viaAccountLevelPermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccountLevelPermissions(AccountLevelPermissions).- Parameters:
accountLevelPermissions- a consumer that will call methods onAccountLevelPermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bucketLevelPermissions
BucketPermissionConfiguration.Builder bucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions) The bucket-level permissions settings for the bucket.
- Parameters:
bucketLevelPermissions- The bucket-level permissions settings for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketLevelPermissions
default BucketPermissionConfiguration.Builder bucketLevelPermissions(Consumer<BucketLevelPermissions.Builder> bucketLevelPermissions) The bucket-level permissions settings for the bucket.
This is a convenience method that creates an instance of theBucketLevelPermissions.Builderavoiding the need to create one manually viaBucketLevelPermissions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobucketLevelPermissions(BucketLevelPermissions).- Parameters:
bucketLevelPermissions- a consumer that will call methods onBucketLevelPermissions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-