Interface PutFileSystemPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>,EfsRequest.Builder,SdkBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutFileSystemPolicyRequest
public static interface PutFileSystemPolicyRequest.Builder extends EfsRequest.Builder, SdkPojo, CopyableBuilder<PutFileSystemPolicyRequest.Builder,PutFileSystemPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PutFileSystemPolicyRequest.BuilderbypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)(Optional) A boolean that specifies whether or not to bypass theFileSystemPolicylockout safety check.PutFileSystemPolicyRequest.BuilderfileSystemId(String fileSystemId)The ID of the EFS file system that you want to create or update theFileSystemPolicyfor.PutFileSystemPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutFileSystemPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutFileSystemPolicyRequest.Builderpolicy(String policy)TheFileSystemPolicythat 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fileSystemId
PutFileSystemPolicyRequest.Builder fileSystemId(String 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
PutFileSystemPolicyRequest.Builder policy(String 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 Resource-based policies within Amazon EFS.- 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 Resource-based policies within Amazon EFS.- 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutFileSystemPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-