Class ParameterObject
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.ParameterObject
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ParameterObject extends Object implements Serializable, Cloneable
Contains information about a parameter object.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParameterObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParameterObject
clone()
boolean
equals(Object obj)
List<ParameterAttribute>
getAttributes()
The attributes of the parameter object.String
getId()
The ID of the parameter object.int
hashCode()
void
setAttributes(Collection<ParameterAttribute> attributes)
The attributes of the parameter object.void
setId(String id)
The ID of the parameter object.String
toString()
Returns a string representation of this object; useful for testing and debugging.ParameterObject
withAttributes(ParameterAttribute... attributes)
The attributes of the parameter object.ParameterObject
withAttributes(Collection<ParameterAttribute> attributes)
The attributes of the parameter object.ParameterObject
withId(String id)
The ID of the parameter object.
-
-
-
Method Detail
-
setId
public void setId(String id)
The ID of the parameter object.
- Parameters:
id
- The ID of the parameter object.
-
getId
public String getId()
The ID of the parameter object.
- Returns:
- The ID of the parameter object.
-
withId
public ParameterObject withId(String id)
The ID of the parameter object.
- Parameters:
id
- The ID of the parameter object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAttributes
public List<ParameterAttribute> getAttributes()
The attributes of the parameter object.
- Returns:
- The attributes of the parameter object.
-
setAttributes
public void setAttributes(Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
- Parameters:
attributes
- The attributes of the parameter object.
-
withAttributes
public ParameterObject withAttributes(ParameterAttribute... attributes)
The attributes of the parameter object.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
attributes
- The attributes of the parameter object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
public ParameterObject withAttributes(Collection<ParameterAttribute> attributes)
The attributes of the parameter object.
- Parameters:
attributes
- The attributes of the parameter object.- 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ParameterObject clone()
-
-