Class ServerlessCacheArgs.Builder

  • Enclosing class:
    ServerlessCacheArgs

    public static final class ServerlessCacheArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cacheUsageLimits

        public ServerlessCacheArgs.Builder cacheUsageLimits​(@Nullable
                                                            com.pulumi.core.Output<ServerlessCacheCacheUsageLimitsArgs> cacheUsageLimits)
        Parameters:
        cacheUsageLimits - Sets the cache usage limits for storage and ElastiCache Processing Units for the cache. See `cache_usage_limits` Block for details.
        Returns:
        builder
      • cacheUsageLimits

        public ServerlessCacheArgs.Builder cacheUsageLimits​(ServerlessCacheCacheUsageLimitsArgs cacheUsageLimits)
        Parameters:
        cacheUsageLimits - Sets the cache usage limits for storage and ElastiCache Processing Units for the cache. See `cache_usage_limits` Block for details.
        Returns:
        builder
      • dailySnapshotTime

        public ServerlessCacheArgs.Builder dailySnapshotTime​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> dailySnapshotTime)
        Parameters:
        dailySnapshotTime - The daily time that snapshots will be created from the new serverless cache. Only supported for engine type `"redis"`. Defaults to `0`.
        Returns:
        builder
      • dailySnapshotTime

        public ServerlessCacheArgs.Builder dailySnapshotTime​(java.lang.String dailySnapshotTime)
        Parameters:
        dailySnapshotTime - The daily time that snapshots will be created from the new serverless cache. Only supported for engine type `"redis"`. Defaults to `0`.
        Returns:
        builder
      • description

        public ServerlessCacheArgs.Builder description​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - User-provided description for the serverless cache. The default is NULL.
        Returns:
        builder
      • description

        public ServerlessCacheArgs.Builder description​(java.lang.String description)
        Parameters:
        description - User-provided description for the serverless cache. The default is NULL.
        Returns:
        builder
      • engine

        public ServerlessCacheArgs.Builder engine​(com.pulumi.core.Output<java.lang.String> engine)
        Parameters:
        engine - Name of the cache engine to be used for this cache cluster. Valid values are `memcached` or `redis`.
        Returns:
        builder
      • engine

        public ServerlessCacheArgs.Builder engine​(java.lang.String engine)
        Parameters:
        engine - Name of the cache engine to be used for this cache cluster. Valid values are `memcached` or `redis`.
        Returns:
        builder
      • kmsKeyId

        public ServerlessCacheArgs.Builder kmsKeyId​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.
        Returns:
        builder
      • kmsKeyId

        public ServerlessCacheArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - ARN of the customer managed key for encrypting the data at rest. If no KMS key is provided, a default service key is used.
        Returns:
        builder
      • majorEngineVersion

        public ServerlessCacheArgs.Builder majorEngineVersion​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> majorEngineVersion)
        Parameters:
        majorEngineVersion - The version of the cache engine that will be used to create the serverless cache. See [Describe Cache Engine Versions](https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-cache-engine-versions.html) in the AWS Documentation for supported versions.
        Returns:
        builder
      • majorEngineVersion

        public ServerlessCacheArgs.Builder majorEngineVersion​(java.lang.String majorEngineVersion)
        Parameters:
        majorEngineVersion - The version of the cache engine that will be used to create the serverless cache. See [Describe Cache Engine Versions](https://docs.aws.amazon.com/cli/latest/reference/elasticache/describe-cache-engine-versions.html) in the AWS Documentation for supported versions.
        Returns:
        builder
      • name

        public ServerlessCacheArgs.Builder name​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The Cluster name which serves as a unique identifier to the serverless cache The following arguments are optional:
        Returns:
        builder
      • name

        public ServerlessCacheArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The Cluster name which serves as a unique identifier to the serverless cache The following arguments are optional:
        Returns:
        builder
      • securityGroupIds

        public ServerlessCacheArgs.Builder securityGroupIds​(@Nullable
                                                            com.pulumi.core.Output<java.util.List<java.lang.String>> securityGroupIds)
        Parameters:
        securityGroupIds - A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.
        Returns:
        builder
      • securityGroupIds

        public ServerlessCacheArgs.Builder securityGroupIds​(java.util.List<java.lang.String> securityGroupIds)
        Parameters:
        securityGroupIds - A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.
        Returns:
        builder
      • securityGroupIds

        public ServerlessCacheArgs.Builder securityGroupIds​(java.lang.String... securityGroupIds)
        Parameters:
        securityGroupIds - A list of the one or more VPC security groups to be associated with the serverless cache. The security group will authorize traffic access for the VPC end-point (private-link). If no other information is given this will be the VPC’s Default Security Group that is associated with the cluster VPC end-point.
        Returns:
        builder
      • snapshotArnsToRestores

        public ServerlessCacheArgs.Builder snapshotArnsToRestores​(@Nullable
                                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> snapshotArnsToRestores)
        Parameters:
        snapshotArnsToRestores - The list of ARN(s) of the snapshot that the new serverless cache will be created from. Available for Redis only.
        Returns:
        builder
      • snapshotArnsToRestores

        public ServerlessCacheArgs.Builder snapshotArnsToRestores​(java.util.List<java.lang.String> snapshotArnsToRestores)
        Parameters:
        snapshotArnsToRestores - The list of ARN(s) of the snapshot that the new serverless cache will be created from. Available for Redis only.
        Returns:
        builder
      • snapshotArnsToRestores

        public ServerlessCacheArgs.Builder snapshotArnsToRestores​(java.lang.String... snapshotArnsToRestores)
        Parameters:
        snapshotArnsToRestores - The list of ARN(s) of the snapshot that the new serverless cache will be created from. Available for Redis only.
        Returns:
        builder
      • snapshotRetentionLimit

        public ServerlessCacheArgs.Builder snapshotRetentionLimit​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> snapshotRetentionLimit)
        Parameters:
        snapshotRetentionLimit - The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Redis only.
        Returns:
        builder
      • snapshotRetentionLimit

        public ServerlessCacheArgs.Builder snapshotRetentionLimit​(java.lang.Integer snapshotRetentionLimit)
        Parameters:
        snapshotRetentionLimit - The number of snapshots that will be retained for the serverless cache that is being created. As new snapshots beyond this limit are added, the oldest snapshots will be deleted on a rolling basis. Available for Redis only.
        Returns:
        builder
      • subnetIds

        public ServerlessCacheArgs.Builder subnetIds​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
        Returns:
        builder
      • subnetIds

        public ServerlessCacheArgs.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
        Returns:
        builder
      • subnetIds

        public ServerlessCacheArgs.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - A list of the identifiers of the subnets where the VPC endpoint for the serverless cache will be deployed. All the subnetIds must belong to the same VPC.
        Returns:
        builder
      • tags

        public ServerlessCacheArgs.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 resource. 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 ServerlessCacheArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • userGroupId

        public ServerlessCacheArgs.Builder userGroupId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> userGroupId)
        Parameters:
        userGroupId - The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
        Returns:
        builder
      • userGroupId

        public ServerlessCacheArgs.Builder userGroupId​(java.lang.String userGroupId)
        Parameters:
        userGroupId - The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL.
        Returns:
        builder