Package com.pulumi.aws.efs.inputs
Class FileSystemPolicyState.Builder
- java.lang.Object
-
- com.pulumi.aws.efs.inputs.FileSystemPolicyState.Builder
-
- Enclosing class:
- FileSystemPolicyState
public static final class FileSystemPolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(FileSystemPolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemPolicyStatebuild()FileSystemPolicyState.BuilderbypassPolicyLockoutSafetyCheck(com.pulumi.core.Output<java.lang.Boolean> bypassPolicyLockoutSafetyCheck)FileSystemPolicyState.BuilderbypassPolicyLockoutSafetyCheck(java.lang.Boolean bypassPolicyLockoutSafetyCheck)FileSystemPolicyState.BuilderfileSystemId(com.pulumi.core.Output<java.lang.String> fileSystemId)FileSystemPolicyState.BuilderfileSystemId(java.lang.String fileSystemId)FileSystemPolicyState.Builderpolicy(com.pulumi.core.Output<java.lang.String> policy)FileSystemPolicyState.Builderpolicy(java.lang.String policy)FileSystemPolicyState.Builderregion(com.pulumi.core.Output<java.lang.String> region)FileSystemPolicyState.Builderregion(java.lang.String region)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FileSystemPolicyState defaults)
-
-
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
-
build
public FileSystemPolicyState build()
-
-