Class GetReservedCacheNodeOfferingPlainArgs.Builder

    • Method Detail

      • cacheNodeType

        public GetReservedCacheNodeOfferingPlainArgs.Builder cacheNodeType​(java.lang.String cacheNodeType)
        Parameters:
        cacheNodeType - Node type for the reserved cache node. See AWS documentation for information on [supported node types for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types for Redis](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/nodes-select-size.html). See AWS documentation for information on [supported node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/CacheNodes.SupportedTypes.html) and [guidance on selecting node types for Memcached](https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/nodes-select-size.html).
        Returns:
        builder
      • duration

        public GetReservedCacheNodeOfferingPlainArgs.Builder duration​(java.lang.String duration)
        Parameters:
        duration - Duration of the reservation in RFC3339 duration format. Valid values are `P1Y` (one year) and `P3Y` (three years).
        Returns:
        builder
      • offeringType

        public GetReservedCacheNodeOfferingPlainArgs.Builder offeringType​(java.lang.String offeringType)
        Parameters:
        offeringType - Offering type of this reserved cache node. For the latest generation of nodes (e.g. M5, R5, T4 and newer) valid values are `No Upfront`, `Partial Upfront`, and `All Upfront`. For other current generation nodes (i.e. T2, M3, M4, R3, or R4) the only valid value is `Heavy Utilization`. For previous generation modes (i.e. T1, M1, M2, or C1) valid values are `Heavy Utilization`, `Medium Utilization`, and `Light Utilization`.
        Returns:
        builder
      • productDescription

        public GetReservedCacheNodeOfferingPlainArgs.Builder productDescription​(java.lang.String productDescription)
        Parameters:
        productDescription - Engine type for the reserved cache node. Valid values are `redis`, `valkey` and `memcached`.
        Returns:
        builder
      • region

        public GetReservedCacheNodeOfferingPlainArgs.Builder region​(@Nullable
                                                                    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