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.BuilderaccountLevelPermissions(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.BuilderbucketLevelPermissions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-
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.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:
-