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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BucketPermissionConfiguration.BuilderaccountLevelPermissions(Consumer<AccountLevelPermissions.Builder> accountLevelPermissions)The account-level permissions settings that apply to the bucket.BucketPermissionConfiguration.BuilderaccountLevelPermissions(AccountLevelPermissions accountLevelPermissions)The account-level permissions settings that apply to the bucket.default BucketPermissionConfiguration.BuilderbucketLevelPermissions(Consumer<BucketLevelPermissions.Builder> bucketLevelPermissions)The bucket-level permissions settings for the bucket.BucketPermissionConfiguration.BuilderbucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions)The bucket-level permissions settings for the bucket.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
accountLevelPermissions(AccountLevelPermissions)
-
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:
bucketLevelPermissions(BucketLevelPermissions)
-
-