Class FileSystemPolicyState.Builder

  • Enclosing class:
    FileSystemPolicyState

    public static final class FileSystemPolicyState.Builder
    extends java.lang.Object
    • Method Detail

      • bypassPolicyLockoutSafetyCheck

        public FileSystemPolicyState.Builder bypassPolicyLockoutSafetyCheck​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.Boolean> bypassPolicyLockoutSafetyCheck)
        Parameters:
        bypassPolicyLockoutSafetyCheck - A flag to indicate whether to bypass the `aws.efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.
        Returns:
        builder
      • bypassPolicyLockoutSafetyCheck

        public FileSystemPolicyState.Builder bypassPolicyLockoutSafetyCheck​(java.lang.Boolean bypassPolicyLockoutSafetyCheck)
        Parameters:
        bypassPolicyLockoutSafetyCheck - A flag to indicate whether to bypass the `aws.efs.FileSystemPolicy` lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future `PutFileSystemPolicy` requests on the file system. Set `bypassPolicyLockoutSafetyCheck` to `true` only when you intend to prevent the principal that is making the request from making a subsequent `PutFileSystemPolicy` request on the file system. The default value is `false`.
        Returns:
        builder
      • fileSystemId

        public FileSystemPolicyState.Builder fileSystemId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> fileSystemId)
        Parameters:
        fileSystemId - The ID of the EFS file system.
        Returns:
        builder
      • fileSystemId

        public FileSystemPolicyState.Builder fileSystemId​(java.lang.String fileSystemId)
        Parameters:
        fileSystemId - The ID of the EFS file system.
        Returns:
        builder
      • policy

        public FileSystemPolicyState.Builder policy​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. The following arguments are optional:
        Returns:
        builder
      • policy

        public FileSystemPolicyState.Builder policy​(java.lang.String policy)
        Parameters:
        policy - The JSON formatted file system policy for the EFS file system. see [Docs](https://docs.aws.amazon.com/efs/latest/ug/access-control-overview.html#access-control-manage-access-intro-resource-policies) for more info. The following arguments are optional:
        Returns:
        builder
      • region

        public FileSystemPolicyState.Builder region​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public FileSystemPolicyState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder