Package com.pulumi.aws.efs.inputs
Class FileSystemState.Builder
- java.lang.Object
-
- com.pulumi.aws.efs.inputs.FileSystemState.Builder
-
- Enclosing class:
- FileSystemState
public static final class FileSystemState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(FileSystemState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FileSystemState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
FileSystemState.Builder
arn(java.lang.String arn)
FileSystemState.Builder
availabilityZoneId(com.pulumi.core.Output<java.lang.String> availabilityZoneId)
FileSystemState.Builder
availabilityZoneId(java.lang.String availabilityZoneId)
FileSystemState.Builder
availabilityZoneName(com.pulumi.core.Output<java.lang.String> availabilityZoneName)
FileSystemState.Builder
availabilityZoneName(java.lang.String availabilityZoneName)
FileSystemState
build()
FileSystemState.Builder
creationToken(com.pulumi.core.Output<java.lang.String> creationToken)
FileSystemState.Builder
creationToken(java.lang.String creationToken)
FileSystemState.Builder
dnsName(com.pulumi.core.Output<java.lang.String> dnsName)
FileSystemState.Builder
dnsName(java.lang.String dnsName)
FileSystemState.Builder
encrypted(com.pulumi.core.Output<java.lang.Boolean> encrypted)
FileSystemState.Builder
encrypted(java.lang.Boolean encrypted)
FileSystemState.Builder
kmsKeyId(com.pulumi.core.Output<java.lang.String> kmsKeyId)
FileSystemState.Builder
kmsKeyId(java.lang.String kmsKeyId)
FileSystemState.Builder
lifecyclePolicies(FileSystemLifecyclePolicyArgs... lifecyclePolicies)
FileSystemState.Builder
lifecyclePolicies(com.pulumi.core.Output<java.util.List<FileSystemLifecyclePolicyArgs>> lifecyclePolicies)
FileSystemState.Builder
lifecyclePolicies(java.util.List<FileSystemLifecyclePolicyArgs> lifecyclePolicies)
FileSystemState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
FileSystemState.Builder
name(java.lang.String name)
FileSystemState.Builder
numberOfMountTargets(com.pulumi.core.Output<java.lang.Integer> numberOfMountTargets)
FileSystemState.Builder
numberOfMountTargets(java.lang.Integer numberOfMountTargets)
FileSystemState.Builder
ownerId(com.pulumi.core.Output<java.lang.String> ownerId)
FileSystemState.Builder
ownerId(java.lang.String ownerId)
FileSystemState.Builder
performanceMode(com.pulumi.core.Output<java.lang.String> performanceMode)
FileSystemState.Builder
performanceMode(java.lang.String performanceMode)
FileSystemState.Builder
provisionedThroughputInMibps(com.pulumi.core.Output<java.lang.Double> provisionedThroughputInMibps)
FileSystemState.Builder
provisionedThroughputInMibps(java.lang.Double provisionedThroughputInMibps)
FileSystemState.Builder
sizeInBytes(FileSystemSizeInByteArgs... sizeInBytes)
FileSystemState.Builder
sizeInBytes(com.pulumi.core.Output<java.util.List<FileSystemSizeInByteArgs>> sizeInBytes)
FileSystemState.Builder
sizeInBytes(java.util.List<FileSystemSizeInByteArgs> sizeInBytes)
FileSystemState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
FileSystemState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
FileSystemState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.FileSystemState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.FileSystemState.Builder
throughputMode(com.pulumi.core.Output<java.lang.String> throughputMode)
FileSystemState.Builder
throughputMode(java.lang.String throughputMode)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(FileSystemState defaults)
-
-
Method Detail
-
arn
public FileSystemState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- Amazon Resource Name of the file system.- Returns:
- builder
-
arn
public FileSystemState.Builder arn(java.lang.String arn)
- Parameters:
arn
- Amazon Resource Name of the file system.- Returns:
- builder
-
availabilityZoneId
public FileSystemState.Builder availabilityZoneId(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZoneId)
- Parameters:
availabilityZoneId
- The identifier of the Availability Zone in which the file system's One Zone storage classes exist.- Returns:
- builder
-
availabilityZoneId
public FileSystemState.Builder availabilityZoneId(java.lang.String availabilityZoneId)
- Parameters:
availabilityZoneId
- The identifier of the Availability Zone in which the file system's One Zone storage classes exist.- Returns:
- builder
-
availabilityZoneName
public FileSystemState.Builder availabilityZoneName(@Nullable com.pulumi.core.Output<java.lang.String> availabilityZoneName)
- Parameters:
availabilityZoneName
- the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) for more information.- Returns:
- builder
-
availabilityZoneName
public FileSystemState.Builder availabilityZoneName(java.lang.String availabilityZoneName)
- Parameters:
availabilityZoneName
- the AWS Availability Zone in which to create the file system. Used to create a file system that uses One Zone storage classes. See [user guide](https://docs.aws.amazon.com/efs/latest/ug/storage-classes.html) for more information.- Returns:
- builder
-
creationToken
public FileSystemState.Builder creationToken(@Nullable com.pulumi.core.Output<java.lang.String> creationToken)
- Parameters:
creationToken
- A unique name (a maximum of 64 characters are allowed) used as reference when creating the Elastic File System to ensure idempotent file system creation. By default generated by this provider. See [Elastic File System] user guide for more information.- Returns:
- builder
-
creationToken
public FileSystemState.Builder creationToken(java.lang.String creationToken)
- Parameters:
creationToken
- A unique name (a maximum of 64 characters are allowed) used as reference when creating the Elastic File System to ensure idempotent file system creation. By default generated by this provider. See [Elastic File System] user guide for more information.- Returns:
- builder
-
dnsName
public FileSystemState.Builder dnsName(@Nullable com.pulumi.core.Output<java.lang.String> dnsName)
- Parameters:
dnsName
- The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).- Returns:
- builder
-
dnsName
public FileSystemState.Builder dnsName(java.lang.String dnsName)
- Parameters:
dnsName
- The DNS name for the filesystem per [documented convention](http://docs.aws.amazon.com/efs/latest/ug/mounting-fs-mount-cmd-dns-name.html).- Returns:
- builder
-
encrypted
public FileSystemState.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> encrypted)
- Parameters:
encrypted
- If true, the disk will be encrypted.- Returns:
- builder
-
encrypted
public FileSystemState.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted
- If true, the disk will be encrypted.- Returns:
- builder
-
kmsKeyId
public FileSystemState.Builder kmsKeyId(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.- Returns:
- builder
-
kmsKeyId
public FileSystemState.Builder kmsKeyId(java.lang.String kmsKeyId)
- Parameters:
kmsKeyId
- The ARN for the KMS encryption key. When specifying kms_key_id, encrypted needs to be set to true.- Returns:
- builder
-
lifecyclePolicies
public FileSystemState.Builder lifecyclePolicies(@Nullable com.pulumi.core.Output<java.util.List<FileSystemLifecyclePolicyArgs>> lifecyclePolicies)
- Parameters:
lifecyclePolicies
- A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object (documented below).- Returns:
- builder
-
lifecyclePolicies
public FileSystemState.Builder lifecyclePolicies(java.util.List<FileSystemLifecyclePolicyArgs> lifecyclePolicies)
- Parameters:
lifecyclePolicies
- A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object (documented below).- Returns:
- builder
-
lifecyclePolicies
public FileSystemState.Builder lifecyclePolicies(FileSystemLifecyclePolicyArgs... lifecyclePolicies)
- Parameters:
lifecyclePolicies
- A file system [lifecycle policy](https://docs.aws.amazon.com/efs/latest/ug/API_LifecyclePolicy.html) object (documented below).- Returns:
- builder
-
name
public FileSystemState.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The value of the file system's `Name` tag.- Returns:
- builder
-
name
public FileSystemState.Builder name(java.lang.String name)
- Parameters:
name
- The value of the file system's `Name` tag.- Returns:
- builder
-
numberOfMountTargets
public FileSystemState.Builder numberOfMountTargets(@Nullable com.pulumi.core.Output<java.lang.Integer> numberOfMountTargets)
- Parameters:
numberOfMountTargets
- The current number of mount targets that the file system has.- Returns:
- builder
-
numberOfMountTargets
public FileSystemState.Builder numberOfMountTargets(java.lang.Integer numberOfMountTargets)
- Parameters:
numberOfMountTargets
- The current number of mount targets that the file system has.- Returns:
- builder
-
ownerId
public FileSystemState.Builder ownerId(@Nullable com.pulumi.core.Output<java.lang.String> ownerId)
- Parameters:
ownerId
- The AWS account that created the file system. If the file system was createdby an IAM user, the parent account to which the user belongs is the owner.- Returns:
- builder
-
ownerId
public FileSystemState.Builder ownerId(java.lang.String ownerId)
- Parameters:
ownerId
- The AWS account that created the file system. If the file system was createdby an IAM user, the parent account to which the user belongs is the owner.- Returns:
- builder
-
performanceMode
public FileSystemState.Builder performanceMode(@Nullable com.pulumi.core.Output<java.lang.String> performanceMode)
- Parameters:
performanceMode
- The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).- Returns:
- builder
-
performanceMode
public FileSystemState.Builder performanceMode(java.lang.String performanceMode)
- Parameters:
performanceMode
- The file system performance mode. Can be either `"generalPurpose"` or `"maxIO"` (Default: `"generalPurpose"`).- Returns:
- builder
-
provisionedThroughputInMibps
public FileSystemState.Builder provisionedThroughputInMibps(@Nullable com.pulumi.core.Output<java.lang.Double> provisionedThroughputInMibps)
- Parameters:
provisionedThroughputInMibps
- The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughput_mode` set to `provisioned`.- Returns:
- builder
-
provisionedThroughputInMibps
public FileSystemState.Builder provisionedThroughputInMibps(java.lang.Double provisionedThroughputInMibps)
- Parameters:
provisionedThroughputInMibps
- The throughput, measured in MiB/s, that you want to provision for the file system. Only applicable with `throughput_mode` set to `provisioned`.- Returns:
- builder
-
sizeInBytes
public FileSystemState.Builder sizeInBytes(@Nullable com.pulumi.core.Output<java.util.List<FileSystemSizeInByteArgs>> sizeInBytes)
- Parameters:
sizeInBytes
- The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.- Returns:
- builder
-
sizeInBytes
public FileSystemState.Builder sizeInBytes(java.util.List<FileSystemSizeInByteArgs> sizeInBytes)
- Parameters:
sizeInBytes
- The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.- Returns:
- builder
-
sizeInBytes
public FileSystemState.Builder sizeInBytes(FileSystemSizeInByteArgs... sizeInBytes)
- Parameters:
sizeInBytes
- The latest known metered size (in bytes) of data stored in the file system, the value is not the exact size that the file system was at any point in time. See Size In Bytes.- Returns:
- builder
-
tags
public FileSystemState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags
- A map of tags to assign to the file system. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public FileSystemState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of tags to assign to the file system. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
@Deprecated public FileSystemState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public FileSystemState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
throughputMode
public FileSystemState.Builder throughputMode(@Nullable com.pulumi.core.Output<java.lang.String> throughputMode)
- Parameters:
throughputMode
- Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisioned_throughput_in_mibps`.- Returns:
- builder
-
throughputMode
public FileSystemState.Builder throughputMode(java.lang.String throughputMode)
- Parameters:
throughputMode
- Throughput mode for the file system. Defaults to `bursting`. Valid values: `bursting`, `provisioned`, or `elastic`. When using `provisioned`, also set `provisioned_throughput_in_mibps`.- Returns:
- builder
-
build
public FileSystemState build()
-
-