Interface ModifyServerlessCacheRequest.Builder

    • Method Detail

      • serverlessCacheName

        ModifyServerlessCacheRequest.Builder serverlessCacheName​(String serverlessCacheName)

        User-provided identifier for the serverless cache to be modified.

        Parameters:
        serverlessCacheName - User-provided identifier for the serverless cache to be modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ModifyServerlessCacheRequest.Builder description​(String description)

        User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.

        Parameters:
        description - User provided description for the serverless cache. Default = NULL, i.e. the existing description is not removed/modified. The description has a maximum length of 255 characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cacheUsageLimits

        ModifyServerlessCacheRequest.Builder cacheUsageLimits​(CacheUsageLimits cacheUsageLimits)

        Modify the cache usage limit for the serverless cache.

        Parameters:
        cacheUsageLimits - Modify the cache usage limit for the serverless cache.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • removeUserGroup

        ModifyServerlessCacheRequest.Builder removeUserGroup​(Boolean removeUserGroup)

        The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.

        Parameters:
        removeUserGroup - The identifier of the UserGroup to be removed from association with the Redis serverless cache. Available for Redis only. Default is NULL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userGroupId

        ModifyServerlessCacheRequest.Builder userGroupId​(String userGroupId)

        The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.

        Parameters:
        userGroupId - The identifier of the UserGroup to be associated with the serverless cache. Available for Redis only. Default is NULL - the existing UserGroup is not removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        ModifyServerlessCacheRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.

        Parameters:
        securityGroupIds - The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        ModifyServerlessCacheRequest.Builder securityGroupIds​(String... securityGroupIds)

        The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.

        Parameters:
        securityGroupIds - The new list of VPC security groups to be associated with the serverless cache. Populating this list means the current VPC security groups will be removed. This security group is used to authorize traffic access for the VPC end-point (private-link). Default = NULL - the existing list of VPC security groups is not removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotRetentionLimit

        ModifyServerlessCacheRequest.Builder snapshotRetentionLimit​(Integer snapshotRetentionLimit)

        The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.

        Parameters:
        snapshotRetentionLimit - The number of days for which Elasticache retains automatic snapshots before deleting them. Available for Redis only. Default = NULL, i.e. the existing snapshot-retention-limit will not be removed or modified. The maximum value allowed is 35 days.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dailySnapshotTime

        ModifyServerlessCacheRequest.Builder dailySnapshotTime​(String dailySnapshotTime)

        The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.

        Parameters:
        dailySnapshotTime - The daily time during which Elasticache begins taking a daily snapshot of the serverless cache. Available for Redis only. The default is NULL, i.e. the existing snapshot time configured for the cluster is not removed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.