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 Details

    • 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 the FileSystemPolicy 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 - 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.
      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 future PutFileSystemPolicy requests on this file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the IAM principal that is making the request from making subsequent PutFileSystemPolicy requests on this file system. The default value is False.

      Parameters:
      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 future PutFileSystemPolicy requests on this file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the IAM principal that is making the request from making subsequent PutFileSystemPolicy requests on this file system. The default value is False.
      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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.