Interface PutFileSystemPolicyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutFileSystemPolicyRequest.Builder,
,PutFileSystemPolicyRequest> EfsRequest.Builder
,SdkBuilder<PutFileSystemPolicyRequest.Builder,
,PutFileSystemPolicyRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutFileSystemPolicyRequest
-
Method Summary
Modifier and TypeMethodDescriptionbypassPolicyLockoutSafetyCheck
(Boolean bypassPolicyLockoutSafetyCheck) (Optional) A boolean that specifies whether or not to bypass theFileSystemPolicy
lockout safety check.fileSystemId
(String fileSystemId) The ID of the EFS file system that you want to create or update theFileSystemPolicy
for.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.TheFileSystemPolicy
that you're creating.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.efs.model.EfsRequest.Builder
build
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
-
fileSystemId
The ID of the EFS file system that you want to create or update the
FileSystemPolicy
for.- Parameters:
fileSystemId
- The ID of the EFS file system that you want to create or update theFileSystemPolicy
for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The
FileSystemPolicy
that you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see EFS Resource-based Policies.- Parameters:
policy
- TheFileSystemPolicy
that you're creating. Accepts a JSON formatted policy definition. EFS file system policies have a 20,000 character limit. To find out more about the elements that make up a file system policy, see EFS Resource-based Policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bypassPolicyLockoutSafetyCheck
PutFileSystemPolicyRequest.Builder bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck) (Optional) A boolean that specifies whether or not to bypass the
FileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
.- Parameters:
bypassPolicyLockoutSafetyCheck
- (Optional) A boolean that specifies whether or not to bypass theFileSystemPolicy
lockout safety check. The lockout safety check determines whether the policy in the request will lock out, or prevent, the IAM principal that is making the request from making futurePutFileSystemPolicy
requests on this file system. SetBypassPolicyLockoutSafetyCheck
toTrue
only when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicy
requests on this file system. The default value isFalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutFileSystemPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutFileSystemPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-