Class PipelineObject
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.PipelineObject
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PipelineObject extends Object implements Serializable, Cloneable
Contains information about a pipeline object. This can be a logical, physical, or physical attempt pipeline object. The complete set of components of a pipeline defines the pipeline.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PipelineObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineObject
clone()
boolean
equals(Object obj)
List<Field>
getFields()
Key-value pairs that define the properties of the object.String
getId()
The ID of the object.String
getName()
The name of the object.int
hashCode()
void
setFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.void
setId(String id)
The ID of the object.void
setName(String name)
The name of the object.String
toString()
Returns a string representation of this object; useful for testing and debugging.PipelineObject
withFields(Field... fields)
Key-value pairs that define the properties of the object.PipelineObject
withFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.PipelineObject
withId(String id)
The ID of the object.PipelineObject
withName(String name)
The name of the object.
-
-
-
Method Detail
-
setId
public void setId(String id)
The ID of the object.
- Parameters:
id
- The ID of the object.
-
getId
public String getId()
The ID of the object.
- Returns:
- The ID of the object.
-
withId
public PipelineObject withId(String id)
The ID of the object.
- Parameters:
id
- The ID of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name of the object.
- Parameters:
name
- The name of the object.
-
getName
public String getName()
The name of the object.
- Returns:
- The name of the object.
-
withName
public PipelineObject withName(String name)
The name of the object.
- Parameters:
name
- The name of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getFields
public List<Field> getFields()
Key-value pairs that define the properties of the object.
- Returns:
- Key-value pairs that define the properties of the object.
-
setFields
public void setFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
- Parameters:
fields
- Key-value pairs that define the properties of the object.
-
withFields
public PipelineObject withFields(Field... fields)
Key-value pairs that define the properties of the object.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
orwithFields(java.util.Collection)
if you want to override the existing values.- Parameters:
fields
- Key-value pairs that define the properties of the object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withFields
public PipelineObject withFields(Collection<Field> fields)
Key-value pairs that define the properties of the object.
- Parameters:
fields
- Key-value pairs that define the properties of the 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 PipelineObject clone()
-
-