Interface CreateCacheParameterGroupRequest.Builder

    • Method Detail

      • cacheParameterGroupName

        CreateCacheParameterGroupRequest.Builder cacheParameterGroupName​(String cacheParameterGroupName)

        A user-specified name for the cache parameter group.

        Parameters:
        cacheParameterGroupName - A user-specified name for the cache parameter group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cacheParameterGroupFamily

        CreateCacheParameterGroupRequest.Builder cacheParameterGroupFamily​(String cacheParameterGroupFamily)

        The name of the cache parameter group family that the cache parameter group can be used with.

        Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7

        Parameters:
        cacheParameterGroupFamily - The name of the cache parameter group family that the cache parameter group can be used with.

        Valid values are: memcached1.4 | memcached1.5 | memcached1.6 | redis2.6 | redis2.8 | redis3.2 | redis4.0 | redis5.0 | redis6.x | redis7

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateCacheParameterGroupRequest.Builder description​(String description)

        A user-specified description for the cache parameter group.

        Parameters:
        description - A user-specified description for the cache parameter group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCacheParameterGroupRequest.Builder tags​(Collection<Tag> tags)

        A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

        Parameters:
        tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCacheParameterGroupRequest.Builder tags​(Tag... tags)

        A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

        Parameters:
        tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateCacheParameterGroupRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)