Package com.pulumi.aws.fsx.inputs
Class DataRepositoryAssociationState.Builder
- java.lang.Object
-
- com.pulumi.aws.fsx.inputs.DataRepositoryAssociationState.Builder
-
- Enclosing class:
- DataRepositoryAssociationState
public static final class DataRepositoryAssociationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DataRepositoryAssociationState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataRepositoryAssociationState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
DataRepositoryAssociationState.Builder
arn(java.lang.String arn)
DataRepositoryAssociationState.Builder
associationId(com.pulumi.core.Output<java.lang.String> associationId)
DataRepositoryAssociationState.Builder
associationId(java.lang.String associationId)
DataRepositoryAssociationState.Builder
batchImportMetaDataOnCreate(com.pulumi.core.Output<java.lang.Boolean> batchImportMetaDataOnCreate)
DataRepositoryAssociationState.Builder
batchImportMetaDataOnCreate(java.lang.Boolean batchImportMetaDataOnCreate)
DataRepositoryAssociationState
build()
DataRepositoryAssociationState.Builder
dataRepositoryPath(com.pulumi.core.Output<java.lang.String> dataRepositoryPath)
DataRepositoryAssociationState.Builder
dataRepositoryPath(java.lang.String dataRepositoryPath)
DataRepositoryAssociationState.Builder
deleteDataInFilesystem(com.pulumi.core.Output<java.lang.Boolean> deleteDataInFilesystem)
DataRepositoryAssociationState.Builder
deleteDataInFilesystem(java.lang.Boolean deleteDataInFilesystem)
DataRepositoryAssociationState.Builder
fileSystemId(com.pulumi.core.Output<java.lang.String> fileSystemId)
DataRepositoryAssociationState.Builder
fileSystemId(java.lang.String fileSystemId)
DataRepositoryAssociationState.Builder
fileSystemPath(com.pulumi.core.Output<java.lang.String> fileSystemPath)
DataRepositoryAssociationState.Builder
fileSystemPath(java.lang.String fileSystemPath)
DataRepositoryAssociationState.Builder
importedFileChunkSize(com.pulumi.core.Output<java.lang.Integer> importedFileChunkSize)
DataRepositoryAssociationState.Builder
importedFileChunkSize(java.lang.Integer importedFileChunkSize)
DataRepositoryAssociationState.Builder
s3(DataRepositoryAssociationS3Args s3)
DataRepositoryAssociationState.Builder
s3(com.pulumi.core.Output<DataRepositoryAssociationS3Args> s3)
DataRepositoryAssociationState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
DataRepositoryAssociationState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
DataRepositoryAssociationState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.DataRepositoryAssociationState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DataRepositoryAssociationState defaults)
-
-
Method Detail
-
arn
public DataRepositoryAssociationState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn
- Amazon Resource Name of the file system.- Returns:
- builder
-
arn
public DataRepositoryAssociationState.Builder arn(java.lang.String arn)
- Parameters:
arn
- Amazon Resource Name of the file system.- Returns:
- builder
-
associationId
public DataRepositoryAssociationState.Builder associationId(@Nullable com.pulumi.core.Output<java.lang.String> associationId)
-
associationId
public DataRepositoryAssociationState.Builder associationId(java.lang.String associationId)
-
batchImportMetaDataOnCreate
public DataRepositoryAssociationState.Builder batchImportMetaDataOnCreate(@Nullable com.pulumi.core.Output<java.lang.Boolean> batchImportMetaDataOnCreate)
- Parameters:
batchImportMetaDataOnCreate
- Set to true to run an import data repository task to import metadata from the data repository to the file system after the data repository association is created. Defaults to `false`.- Returns:
- builder
-
batchImportMetaDataOnCreate
public DataRepositoryAssociationState.Builder batchImportMetaDataOnCreate(java.lang.Boolean batchImportMetaDataOnCreate)
- Parameters:
batchImportMetaDataOnCreate
- Set to true to run an import data repository task to import metadata from the data repository to the file system after the data repository association is created. Defaults to `false`.- Returns:
- builder
-
dataRepositoryPath
public DataRepositoryAssociationState.Builder dataRepositoryPath(@Nullable com.pulumi.core.Output<java.lang.String> dataRepositoryPath)
- Parameters:
dataRepositoryPath
- The path to the Amazon S3 data repository that will be linked to the file system. The path must be an S3 bucket s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to. The same S3 bucket cannot be linked more than once to the same file system.- Returns:
- builder
-
dataRepositoryPath
public DataRepositoryAssociationState.Builder dataRepositoryPath(java.lang.String dataRepositoryPath)
- Parameters:
dataRepositoryPath
- The path to the Amazon S3 data repository that will be linked to the file system. The path must be an S3 bucket s3://myBucket/myPrefix/. This path specifies where in the S3 data repository files will be imported from or exported to. The same S3 bucket cannot be linked more than once to the same file system.- Returns:
- builder
-
deleteDataInFilesystem
public DataRepositoryAssociationState.Builder deleteDataInFilesystem(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteDataInFilesystem)
- Parameters:
deleteDataInFilesystem
- Set to true to delete files from the file system upon deleting this data repository association. Defaults to `false`.- Returns:
- builder
-
deleteDataInFilesystem
public DataRepositoryAssociationState.Builder deleteDataInFilesystem(java.lang.Boolean deleteDataInFilesystem)
- Parameters:
deleteDataInFilesystem
- Set to true to delete files from the file system upon deleting this data repository association. Defaults to `false`.- Returns:
- builder
-
fileSystemId
public DataRepositoryAssociationState.Builder fileSystemId(@Nullable com.pulumi.core.Output<java.lang.String> fileSystemId)
- Parameters:
fileSystemId
- The ID of the Amazon FSx file system to on which to create a data repository association.- Returns:
- builder
-
fileSystemId
public DataRepositoryAssociationState.Builder fileSystemId(java.lang.String fileSystemId)
- Parameters:
fileSystemId
- The ID of the Amazon FSx file system to on which to create a data repository association.- Returns:
- builder
-
fileSystemPath
public DataRepositoryAssociationState.Builder fileSystemPath(@Nullable com.pulumi.core.Output<java.lang.String> fileSystemPath)
- Parameters:
fileSystemPath
- A path on the file system that points to a high-level directory (such as `/ns1/`) or subdirectory (such as `/ns1/subdir/`) that will be mapped 1-1 with `data_repository_path`. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path `/ns1/`, then you cannot link another data repository with file system path `/ns1/ns2`. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.- Returns:
- builder
-
fileSystemPath
public DataRepositoryAssociationState.Builder fileSystemPath(java.lang.String fileSystemPath)
- Parameters:
fileSystemPath
- A path on the file system that points to a high-level directory (such as `/ns1/`) or subdirectory (such as `/ns1/subdir/`) that will be mapped 1-1 with `data_repository_path`. The leading forward slash in the name is required. Two data repository associations cannot have overlapping file system paths. For example, if a data repository is associated with file system path `/ns1/`, then you cannot link another data repository with file system path `/ns1/ns2`. This path specifies where in your file system files will be exported from or imported to. This file system directory can be linked to only one Amazon S3 bucket, and no other S3 bucket can be linked to the directory.- Returns:
- builder
-
importedFileChunkSize
public DataRepositoryAssociationState.Builder importedFileChunkSize(@Nullable com.pulumi.core.Output<java.lang.Integer> importedFileChunkSize)
- Parameters:
importedFileChunkSize
- For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.- Returns:
- builder
-
importedFileChunkSize
public DataRepositoryAssociationState.Builder importedFileChunkSize(java.lang.Integer importedFileChunkSize)
- Parameters:
importedFileChunkSize
- For files imported from a data repository, this value determines the stripe count and maximum amount of data per file (in MiB) stored on a single physical disk. The maximum number of disks that a single file can be striped across is limited by the total number of disks that make up the file system.- Returns:
- builder
-
s3
public DataRepositoryAssociationState.Builder s3(@Nullable com.pulumi.core.Output<DataRepositoryAssociationS3Args> s3)
- Parameters:
s3
- See the `s3` configuration block. Max of 1. The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.- Returns:
- builder
-
s3
public DataRepositoryAssociationState.Builder s3(DataRepositoryAssociationS3Args s3)
- Parameters:
s3
- See the `s3` configuration block. Max of 1. The configuration for an Amazon S3 data repository linked to an Amazon FSx Lustre file system with a data repository association. The configuration defines which file events (new, changed, or deleted files or directories) are automatically imported from the linked data repository to the file system or automatically exported from the file system to the data repository.- Returns:
- builder
-
tags
public DataRepositoryAssociationState.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 data repository association. 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 DataRepositoryAssociationState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags
- A map of tags to assign to the data repository association. 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 DataRepositoryAssociationState.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 DataRepositoryAssociationState.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
-
build
public DataRepositoryAssociationState build()
-
-