Interface PermissionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PermissionConfiguration.Builder,
,PermissionConfiguration> SdkBuilder<PermissionConfiguration.Builder,
,PermissionConfiguration> SdkPojo
- Enclosing class:
PermissionConfiguration
public static interface PermissionConfiguration.Builder
extends SdkPojo, CopyableBuilder<PermissionConfiguration.Builder,PermissionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PermissionConfiguration.Builder
accountLevelPermissions
(Consumer<AccountLevelPermissions.Builder> accountLevelPermissions) Contains information about the account level permissions on the S3 bucket.accountLevelPermissions
(AccountLevelPermissions accountLevelPermissions) Contains information about the account level permissions on the S3 bucket.default PermissionConfiguration.Builder
bucketLevelPermissions
(Consumer<BucketLevelPermissions.Builder> bucketLevelPermissions) Contains information about the bucket level permissions for the S3 bucket.bucketLevelPermissions
(BucketLevelPermissions bucketLevelPermissions) Contains information about the bucket level permissions for the S3 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, sdkFields
-
Method Details
-
bucketLevelPermissions
PermissionConfiguration.Builder bucketLevelPermissions(BucketLevelPermissions bucketLevelPermissions) Contains information about the bucket level permissions for the S3 bucket.
- Parameters:
bucketLevelPermissions
- Contains information about the bucket level permissions for the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketLevelPermissions
default PermissionConfiguration.Builder bucketLevelPermissions(Consumer<BucketLevelPermissions.Builder> bucketLevelPermissions) Contains information about the bucket level permissions for the S3 bucket.
This is a convenience method that creates an instance of theBucketLevelPermissions.Builder
avoiding the need to create one manually viaBucketLevelPermissions.builder()
.When the
Consumer
completes,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:
-
accountLevelPermissions
PermissionConfiguration.Builder accountLevelPermissions(AccountLevelPermissions accountLevelPermissions) Contains information about the account level permissions on the S3 bucket.
- Parameters:
accountLevelPermissions
- Contains information about the account level permissions on the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountLevelPermissions
default PermissionConfiguration.Builder accountLevelPermissions(Consumer<AccountLevelPermissions.Builder> accountLevelPermissions) Contains information about the account level permissions on the S3 bucket.
This is a convenience method that creates an instance of theAccountLevelPermissions.Builder
avoiding the need to create one manually viaAccountLevelPermissions.builder()
.When the
Consumer
completes,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:
-