Class PipelineIdName
- java.lang.Object
-
- com.amazonaws.services.datapipeline.model.PipelineIdName
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class PipelineIdName extends Object implements Serializable, Cloneable
Contains the name and identifier of a pipeline.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PipelineIdName()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineIdName
clone()
boolean
equals(Object obj)
String
getId()
The ID of the pipeline that was assigned by AWS Data Pipeline.String
getName()
The name of the pipeline.int
hashCode()
void
setId(String id)
The ID of the pipeline that was assigned by AWS Data Pipeline.void
setName(String name)
The name of the pipeline.String
toString()
Returns a string representation of this object; useful for testing and debugging.PipelineIdName
withId(String id)
The ID of the pipeline that was assigned by AWS Data Pipeline.PipelineIdName
withName(String name)
The name of the pipeline.
-
-
-
Method Detail
-
setId
public void setId(String id)
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the form
df-297EG78HU43EEXAMPLE
.- Parameters:
id
- The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the formdf-297EG78HU43EEXAMPLE
.
-
getId
public String getId()
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the form
df-297EG78HU43EEXAMPLE
.- Returns:
- The ID of the pipeline that was assigned by AWS Data Pipeline.
This is a string of the form
df-297EG78HU43EEXAMPLE
.
-
withId
public PipelineIdName withId(String id)
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the form
df-297EG78HU43EEXAMPLE
.- Parameters:
id
- The ID of the pipeline that was assigned by AWS Data Pipeline. This is a string of the formdf-297EG78HU43EEXAMPLE
.- 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 pipeline.
- Parameters:
name
- The name of the pipeline.
-
getName
public String getName()
The name of the pipeline.
- Returns:
- The name of the pipeline.
-
withName
public PipelineIdName withName(String name)
The name of the pipeline.
- Parameters:
name
- The name of the pipeline.- 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 PipelineIdName clone()
-
-