Interface ResetCacheParameterGroupRequest.Builder

    • Method Detail

      • cacheParameterGroupName

        ResetCacheParameterGroupRequest.Builder cacheParameterGroupName​(String cacheParameterGroupName)

        The name of the cache parameter group to reset.

        Parameters:
        cacheParameterGroupName - The name of the cache parameter group to reset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resetAllParameters

        ResetCacheParameterGroupRequest.Builder resetAllParameters​(Boolean resetAllParameters)

        If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

        Valid values: true | false

        Parameters:
        resetAllParameters - If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

        Valid values: true | false

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

        ResetCacheParameterGroupRequest.Builder parameterNameValues​(Collection<ParameterNameValue> parameterNameValues)

        An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

        Parameters:
        parameterNameValues - An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameterNameValues

        ResetCacheParameterGroupRequest.Builder parameterNameValues​(ParameterNameValue... parameterNameValues)

        An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

        Parameters:
        parameterNameValues - An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameterNameValues

        ResetCacheParameterGroupRequest.Builder parameterNameValues​(Consumer<ParameterNameValue.Builder>... parameterNameValues)

        An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

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

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

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