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 theFileSystemPolicylockout safety check.fileSystemId(String fileSystemId) The ID of the EFS file system that you want to create or update theFileSystemPolicyfor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.TheFileSystemPolicythat you're creating.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.efs.model.EfsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
FileSystemPolicyfor.- Parameters:
fileSystemId- The ID of the EFS file system that you want to create or update theFileSystemPolicyfor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
The
FileSystemPolicythat 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- TheFileSystemPolicythat 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
FileSystemPolicylockout 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 futurePutFileSystemPolicyrequests on this file system. SetBypassPolicyLockoutSafetyChecktoTrueonly when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicyrequests on this file system. The default value isFalse.- Parameters:
bypassPolicyLockoutSafetyCheck- (Optional) A boolean that specifies whether or not to bypass theFileSystemPolicylockout 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 futurePutFileSystemPolicyrequests on this file system. SetBypassPolicyLockoutSafetyChecktoTrueonly when you intend to prevent the IAM principal that is making the request from making subsequentPutFileSystemPolicyrequests 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-