Class FileCacheState.Builder

  • Enclosing class:
    FileCacheState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public FileCacheState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the cache.
        Returns:
        builder
      • arn

        public FileCacheState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the cache.
        Returns:
        builder
      • copyTagsToDataRepositoryAssociations

        public FileCacheState.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 FileCacheState.Builder copyTagsToDataRepositoryAssociations​(java.lang.Boolean copyTagsToDataRepositoryAssociations)
        Parameters:
        copyTagsToDataRepositoryAssociations - Whether to copy tags for the cache to data repository associations. Defaults to `false`.
        Returns:
        builder
      • dataRepositoryAssociationIds

        public FileCacheState.Builder dataRepositoryAssociationIds​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> dataRepositoryAssociationIds)
        Parameters:
        dataRepositoryAssociationIds - IDs of data repository associations that are associated with the cache.
        Returns:
        builder
      • dataRepositoryAssociationIds

        public FileCacheState.Builder dataRepositoryAssociationIds​(java.util.List<java.lang.String> dataRepositoryAssociationIds)
        Parameters:
        dataRepositoryAssociationIds - IDs of data repository associations that are associated with the cache.
        Returns:
        builder
      • dataRepositoryAssociationIds

        public FileCacheState.Builder dataRepositoryAssociationIds​(java.lang.String... dataRepositoryAssociationIds)
        Parameters:
        dataRepositoryAssociationIds - IDs of data repository associations that are associated with the cache.
        Returns:
        builder
      • dataRepositoryAssociations

        public FileCacheState.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 FileCacheState.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 FileCacheState.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
      • dnsName

        public FileCacheState.Builder dnsName​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> dnsName)
        Parameters:
        dnsName - DNS name for the cache.
        Returns:
        builder
      • dnsName

        public FileCacheState.Builder dnsName​(java.lang.String dnsName)
        Parameters:
        dnsName - DNS name for the cache.
        Returns:
        builder
      • fileCacheId

        public FileCacheState.Builder fileCacheId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> fileCacheId)
        Parameters:
        fileCacheId - System-generated, unique ID of the cache.
        Returns:
        builder
      • fileCacheId

        public FileCacheState.Builder fileCacheId​(java.lang.String fileCacheId)
        Parameters:
        fileCacheId - System-generated, unique ID of the cache.
        Returns:
        builder
      • fileCacheType

        public FileCacheState.Builder fileCacheType​(@Nullable
                                                    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 FileCacheState.Builder fileCacheType​(java.lang.String fileCacheType)
        Parameters:
        fileCacheType - Type of cache to create. The only supported value is `LUSTRE`.
        Returns:
        builder
      • fileCacheTypeVersion

        public FileCacheState.Builder fileCacheTypeVersion​(@Nullable
                                                           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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.Builder lustreConfigurations​(FileCacheLustreConfigurationArgs... lustreConfigurations)
        Parameters:
        lustreConfigurations - Configuration for the Lustre cache. Required when `fileCacheType` is `LUSTRE`. See `lustreConfiguration` Block below.
        Returns:
        builder
      • networkInterfaceIds

        public FileCacheState.Builder networkInterfaceIds​(@Nullable
                                                          com.pulumi.core.Output<java.util.List<java.lang.String>> networkInterfaceIds)
        Parameters:
        networkInterfaceIds - IDs of the network interfaces.
        Returns:
        builder
      • networkInterfaceIds

        public FileCacheState.Builder networkInterfaceIds​(java.util.List<java.lang.String> networkInterfaceIds)
        Parameters:
        networkInterfaceIds - IDs of the network interfaces.
        Returns:
        builder
      • networkInterfaceIds

        public FileCacheState.Builder networkInterfaceIds​(java.lang.String... networkInterfaceIds)
        Parameters:
        networkInterfaceIds - IDs of the network interfaces.
        Returns:
        builder
      • ownerId

        public FileCacheState.Builder ownerId​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - AWS account that created the cache.
        Returns:
        builder
      • ownerId

        public FileCacheState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - AWS account that created the cache.
        Returns:
        builder
      • region

        public FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.Builder storageCapacity​(@Nullable
                                                      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 FileCacheState.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 FileCacheState.Builder subnetIds​(@Nullable
                                                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 FileCacheState.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 FileCacheState.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 FileCacheState.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 FileCacheState.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
      • tagsAll

        public FileCacheState.Builder tagsAll​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
      • tagsAll

        public FileCacheState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
      • vpcId

        public FileCacheState.Builder vpcId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - ID of your VPC.
        Returns:
        builder
      • vpcId

        public FileCacheState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - ID of your VPC.
        Returns:
        builder