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.Builder
bypassPolicyLockoutSafetyCheck(Boolean bypassPolicyLockoutSafetyCheck)
(Optional) A boolean that specifies whether or not to bypass theFileSystemPolicy
lockout safety check.PutFileSystemPolicyRequest.Builder
fileSystemId(String fileSystemId)
The ID of the EFS file system that you want to create or update theFileSystemPolicy
for.PutFileSystemPolicyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutFileSystemPolicyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
PutFileSystemPolicyRequest.Builder
policy(String policy)
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 Detail
-
fileSystemId
PutFileSystemPolicyRequest.Builder fileSystemId(String 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
PutFileSystemPolicyRequest.Builder policy(String 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutFileSystemPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-