Class FileCacheArgs.Builder

  • Enclosing class:
    FileCacheArgs

    public static final class FileCacheArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • copyTagsToDataRepositoryAssociations

        public FileCacheArgs.Builder copyTagsToDataRepositoryAssociations​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.Boolean> copyTagsToDataRepositoryAssociations)
        Parameters:
        copyTagsToDataRepositoryAssociations - Whether to copy tags for the cache to data repository associations. Defaults to `false`.
        Returns:
        builder
      • copyTagsToDataRepositoryAssociations

        public FileCacheArgs.Builder copyTagsToDataRepositoryAssociations​(java.lang.Boolean copyTagsToDataRepositoryAssociations)
        Parameters:
        copyTagsToDataRepositoryAssociations - Whether to copy tags for the cache to data repository associations. Defaults to `false`.
        Returns:
        builder
      • dataRepositoryAssociations

        public FileCacheArgs.Builder dataRepositoryAssociations​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<FileCacheDataRepositoryAssociationArgs>> dataRepositoryAssociations)
        Parameters:
        dataRepositoryAssociations - Configurations for up to 8 data repository associations (DRAs) to create during cache creation. All configurations must be of the same data repository type, either all S3 or all NFS. Maximum of 8. See `dataRepositoryAssociation` Block below.
        Returns:
        builder
      • dataRepositoryAssociations

        public FileCacheArgs.Builder dataRepositoryAssociations​(java.util.List<FileCacheDataRepositoryAssociationArgs> dataRepositoryAssociations)
        Parameters:
        dataRepositoryAssociations - Configurations for up to 8 data repository associations (DRAs) to create during cache creation. All configurations must be of the same data repository type, either all S3 or all NFS. Maximum of 8. See `dataRepositoryAssociation` Block below.
        Returns:
        builder
      • dataRepositoryAssociations

        public FileCacheArgs.Builder dataRepositoryAssociations​(FileCacheDataRepositoryAssociationArgs... dataRepositoryAssociations)
        Parameters:
        dataRepositoryAssociations - Configurations for up to 8 data repository associations (DRAs) to create during cache creation. All configurations must be of the same data repository type, either all S3 or all NFS. Maximum of 8. See `dataRepositoryAssociation` Block below.
        Returns:
        builder
      • fileCacheType

        public FileCacheArgs.Builder fileCacheType​(com.pulumi.core.Output<java.lang.String> fileCacheType)
        Parameters:
        fileCacheType - Type of cache to create. The only supported value is `LUSTRE`.
        Returns:
        builder
      • fileCacheType

        public FileCacheArgs.Builder fileCacheType​(java.lang.String fileCacheType)
        Parameters:
        fileCacheType - Type of cache to create. The only supported value is `LUSTRE`.
        Returns:
        builder
      • fileCacheTypeVersion

        public FileCacheArgs.Builder fileCacheTypeVersion​(com.pulumi.core.Output<java.lang.String> fileCacheTypeVersion)
        Parameters:
        fileCacheTypeVersion - Version for the type of cache to create. The only supported value is `2.12`.
        Returns:
        builder
      • fileCacheTypeVersion

        public FileCacheArgs.Builder fileCacheTypeVersion​(java.lang.String fileCacheTypeVersion)
        Parameters:
        fileCacheTypeVersion - Version for the type of cache to create. The only supported value is `2.12`.
        Returns:
        builder
      • kmsKeyId

        public FileCacheArgs.Builder kmsKeyId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
        Returns:
        builder
      • kmsKeyId

        public FileCacheArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ID of the KMS key to use for encrypting data on the cache. Defaults to the Amazon FSx-managed KMS key for your account.
        Returns:
        builder
      • lustreConfigurations

        public FileCacheArgs.Builder lustreConfigurations​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<FileCacheLustreConfigurationArgs>> lustreConfigurations)
        Parameters:
        lustreConfigurations - Configuration for the Lustre cache. Required when `fileCacheType` is `LUSTRE`. See `lustreConfiguration` Block below.
        Returns:
        builder
      • lustreConfigurations

        public FileCacheArgs.Builder lustreConfigurations​(java.util.List<FileCacheLustreConfigurationArgs> lustreConfigurations)
        Parameters:
        lustreConfigurations - Configuration for the Lustre cache. Required when `fileCacheType` is `LUSTRE`. See `lustreConfiguration` Block below.
        Returns:
        builder
      • lustreConfigurations

        public FileCacheArgs.Builder lustreConfigurations​(FileCacheLustreConfigurationArgs... lustreConfigurations)
        Parameters:
        lustreConfigurations - Configuration for the Lustre cache. Required when `fileCacheType` is `LUSTRE`. See `lustreConfiguration` Block below.
        Returns:
        builder
      • region

        public FileCacheArgs.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 FileCacheArgs.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
      • securityGroupIds

        public FileCacheArgs.Builder securityGroupIds​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - IDs of the security groups to apply to all network interfaces created for cache access.
        Returns:
        builder
      • securityGroupIds

        public FileCacheArgs.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - IDs of the security groups to apply to all network interfaces created for cache access.
        Returns:
        builder
      • securityGroupIds

        public FileCacheArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - IDs of the security groups to apply to all network interfaces created for cache access.
        Returns:
        builder
      • storageCapacity

        public FileCacheArgs.Builder storageCapacity​(com.pulumi.core.Output<java.lang.Integer> storageCapacity)
        Parameters:
        storageCapacity - Storage capacity of the cache in gibibytes (GiB). Valid values are `1200` GiB, `2400` GiB, and increments of `2400` GiB.
        Returns:
        builder
      • storageCapacity

        public FileCacheArgs.Builder storageCapacity​(java.lang.Integer storageCapacity)
        Parameters:
        storageCapacity - Storage capacity of the cache in gibibytes (GiB). Valid values are `1200` GiB, `2400` GiB, and increments of `2400` GiB.
        Returns:
        builder
      • subnetIds

        public FileCacheArgs.Builder subnetIds​(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
        Returns:
        builder
      • subnetIds

        public FileCacheArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
        Returns:
        builder
      • subnetIds

        public FileCacheArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - Subnet IDs that the cache is accessible from. You can specify only one subnet ID.
        Returns:
        builder
      • tags

        public FileCacheArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the file cache. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public FileCacheArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the file cache. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder