Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticache.model
Class ParameterNameValue

java.lang.Object
  extended by com.amazonaws.services.elasticache.model.ParameterNameValue

public class ParameterNameValue
extends Object

A name and value pair used to update the value of a Parameter.


Constructor Summary
ParameterNameValue()
          Default constructor for a new ParameterNameValue object.
ParameterNameValue(String parameterName)
          Constructs a new ParameterNameValue object.
ParameterNameValue(String parameterName, String parameterValue)
          Constructs a new ParameterNameValue object.
 
Method Summary
 boolean equals(Object obj)
           
 String getParameterName()
          Specifies the name of the parameter.
 String getParameterValue()
          Specifies the value of the parameter.
 int hashCode()
           
 void setParameterName(String parameterName)
          Specifies the name of the parameter.
 void setParameterValue(String parameterValue)
          Specifies the value of the parameter.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ParameterNameValue withParameterName(String parameterName)
          Specifies the name of the parameter.
 ParameterNameValue withParameterValue(String parameterValue)
          Specifies the value of the parameter.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParameterNameValue

public ParameterNameValue()
Default constructor for a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


ParameterNameValue

public ParameterNameValue(String parameterName)
Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
parameterName - Specifies the name of the parameter.

ParameterNameValue

public ParameterNameValue(String parameterName,
                          String parameterValue)
Constructs a new ParameterNameValue object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
parameterName - Specifies the name of the parameter.
parameterValue - Specifies the value of the parameter.
Method Detail

getParameterName

public String getParameterName()
Specifies the name of the parameter.

Returns:
Specifies the name of the parameter.

setParameterName

public void setParameterName(String parameterName)
Specifies the name of the parameter.

Parameters:
parameterName - Specifies the name of the parameter.

withParameterName

public ParameterNameValue withParameterName(String parameterName)
Specifies the name of the parameter.

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

Parameters:
parameterName - Specifies the name of the parameter.
Returns:
A reference to this updated object so that method calls can be chained together.

getParameterValue

public String getParameterValue()
Specifies the value of the parameter.

Returns:
Specifies the value of the parameter.

setParameterValue

public void setParameterValue(String parameterValue)
Specifies the value of the parameter.

Parameters:
parameterValue - Specifies the value of the parameter.

withParameterValue

public ParameterNameValue withParameterValue(String parameterValue)
Specifies the value of the parameter.

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

Parameters:
parameterValue - Specifies the value of the parameter.
Returns:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.