Package com.amazonaws.services.ecs.model
Class KeyValuePair
java.lang.Object
com.amazonaws.services.ecs.model.KeyValuePair
- All Implemented Interfaces:
Serializable,Cloneable
A key and value pair object.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleangetName()The name of the key value pair.getValue()The value of the key value pair.inthashCode()voidThe name of the key value pair.voidThe value of the key value pair.toString()Returns a string representation of this object; useful for testing and debugging.The name of the key value pair.The value of the key value pair.
-
Constructor Details
-
KeyValuePair
public KeyValuePair()
-
-
Method Details
-
setName
The name of the key value pair. For environment variables, this is the name of the environment variable.
- Parameters:
name- The name of the key value pair. For environment variables, this is the name of the environment variable.
-
getName
The name of the key value pair. For environment variables, this is the name of the environment variable.
- Returns:
- The name of the key value pair. For environment variables, this is the name of the environment variable.
-
withName
The name of the key value pair. For environment variables, this is the name of the environment variable.
- Parameters:
name- The name of the key value pair. For environment variables, this is the name of the environment variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setValue
The value of the key value pair. For environment variables, this is the value of the environment variable.
- Parameters:
value- The value of the key value pair. For environment variables, this is the value of the environment variable.
-
getValue
The value of the key value pair. For environment variables, this is the value of the environment variable.
- Returns:
- The value of the key value pair. For environment variables, this is the value of the environment variable.
-
withValue
The value of the key value pair. For environment variables, this is the value of the environment variable.
- Parameters:
value- The value of the key value pair. For environment variables, this is the value of the environment variable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-