Class CacheNodeTypeSpecificParameter

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class CacheNodeTypeSpecificParameter
    extends Object
    implements Serializable, Cloneable

    A parameter that has a different value for each cache node type it is applied to. For example, in a Redis cache cluster, a cache.m1.large cache node type would have a larger maxmemory value than a cache.m1.small type.

    See Also:
    Serialized Form
    • Constructor Detail

      • CacheNodeTypeSpecificParameter

        public CacheNodeTypeSpecificParameter()
    • Method Detail

      • setParameterName

        public void setParameterName​(String parameterName)

        The name of the parameter.

        Parameters:
        parameterName - The name of the parameter.
      • getParameterName

        public String getParameterName()

        The name of the parameter.

        Returns:
        The name of the parameter.
      • withParameterName

        public CacheNodeTypeSpecificParameter withParameterName​(String parameterName)

        The name of the parameter.

        Parameters:
        parameterName - The name of the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        A description of the parameter.

        Parameters:
        description - A description of the parameter.
      • getDescription

        public String getDescription()

        A description of the parameter.

        Returns:
        A description of the parameter.
      • withDescription

        public CacheNodeTypeSpecificParameter withDescription​(String description)

        A description of the parameter.

        Parameters:
        description - A description of the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSource

        public void setSource​(String source)

        The source of the parameter value.

        Parameters:
        source - The source of the parameter value.
      • getSource

        public String getSource()

        The source of the parameter value.

        Returns:
        The source of the parameter value.
      • withSource

        public CacheNodeTypeSpecificParameter withSource​(String source)

        The source of the parameter value.

        Parameters:
        source - The source of the parameter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDataType

        public void setDataType​(String dataType)

        The valid data type for the parameter.

        Parameters:
        dataType - The valid data type for the parameter.
      • getDataType

        public String getDataType()

        The valid data type for the parameter.

        Returns:
        The valid data type for the parameter.
      • withDataType

        public CacheNodeTypeSpecificParameter withDataType​(String dataType)

        The valid data type for the parameter.

        Parameters:
        dataType - The valid data type for the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAllowedValues

        public void setAllowedValues​(String allowedValues)

        The valid range of values for the parameter.

        Parameters:
        allowedValues - The valid range of values for the parameter.
      • getAllowedValues

        public String getAllowedValues()

        The valid range of values for the parameter.

        Returns:
        The valid range of values for the parameter.
      • withAllowedValues

        public CacheNodeTypeSpecificParameter withAllowedValues​(String allowedValues)

        The valid range of values for the parameter.

        Parameters:
        allowedValues - The valid range of values for the parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIsModifiable

        public void setIsModifiable​(Boolean isModifiable)

        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

        Parameters:
        isModifiable - Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
      • getIsModifiable

        public Boolean getIsModifiable()

        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

        Returns:
        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
      • withIsModifiable

        public CacheNodeTypeSpecificParameter withIsModifiable​(Boolean isModifiable)

        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

        Parameters:
        isModifiable - Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isModifiable

        public Boolean isModifiable()

        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

        Returns:
        Indicates whether (true) or not (false) the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.
      • setMinimumEngineVersion

        public void setMinimumEngineVersion​(String minimumEngineVersion)

        The earliest cache engine version to which the parameter can apply.

        Parameters:
        minimumEngineVersion - The earliest cache engine version to which the parameter can apply.
      • getMinimumEngineVersion

        public String getMinimumEngineVersion()

        The earliest cache engine version to which the parameter can apply.

        Returns:
        The earliest cache engine version to which the parameter can apply.
      • withMinimumEngineVersion

        public CacheNodeTypeSpecificParameter withMinimumEngineVersion​(String minimumEngineVersion)

        The earliest cache engine version to which the parameter can apply.

        Parameters:
        minimumEngineVersion - The earliest cache engine version to which the parameter can apply.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getCacheNodeTypeSpecificValues

        public List<CacheNodeTypeSpecificValue> getCacheNodeTypeSpecificValues()

        A list of cache node types and their corresponding values for this parameter.

        Returns:
        A list of cache node types and their corresponding values for this parameter.
      • setCacheNodeTypeSpecificValues

        public void setCacheNodeTypeSpecificValues​(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)

        A list of cache node types and their corresponding values for this parameter.

        Parameters:
        cacheNodeTypeSpecificValues - A list of cache node types and their corresponding values for this parameter.
      • withCacheNodeTypeSpecificValues

        public CacheNodeTypeSpecificParameter withCacheNodeTypeSpecificValues​(Collection<CacheNodeTypeSpecificValue> cacheNodeTypeSpecificValues)

        A list of cache node types and their corresponding values for this parameter.

        Parameters:
        cacheNodeTypeSpecificValues - A list of cache node types and their corresponding values for this parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object