public class PipelineIdName
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the name and identifier of a pipeline.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The ID of the pipeline that was assigned by AWS Data Pipeline.
|
private java.lang.String |
name
The name of the pipeline.
|
Constructor and Description |
---|
PipelineIdName() |
Modifier and Type | Method and Description |
---|---|
PipelineIdName |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
The ID of the pipeline that was assigned by AWS Data Pipeline.
|
java.lang.String |
getName()
The name of the pipeline.
|
int |
hashCode() |
void |
setId(java.lang.String id)
The ID of the pipeline that was assigned by AWS Data Pipeline.
|
void |
setName(java.lang.String name)
The name of the pipeline.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineIdName |
withId(java.lang.String id)
The ID of the pipeline that was assigned by AWS Data Pipeline.
|
PipelineIdName |
withName(java.lang.String name)
The name of the pipeline.
|
private java.lang.String id
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a
string of the form df-297EG78HU43EEXAMPLE
.
private java.lang.String name
The name of the pipeline.
public void setId(java.lang.String id)
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a
string of the form df-297EG78HU43EEXAMPLE
.
id
- The ID of the pipeline that was assigned by AWS Data Pipeline.
This is a string of the form df-297EG78HU43EEXAMPLE
.public java.lang.String getId()
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a
string of the form df-297EG78HU43EEXAMPLE
.
df-297EG78HU43EEXAMPLE
.public PipelineIdName withId(java.lang.String id)
The ID of the pipeline that was assigned by AWS Data Pipeline. This is a
string of the form df-297EG78HU43EEXAMPLE
.
id
- The ID of the pipeline that was assigned by AWS Data Pipeline.
This is a string of the form df-297EG78HU43EEXAMPLE
.public void setName(java.lang.String name)
The name of the pipeline.
name
- The name of the pipeline.public java.lang.String getName()
The name of the pipeline.
public PipelineIdName withName(java.lang.String name)
The name of the pipeline.
name
- The name of the pipeline.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PipelineIdName clone()
clone
in class java.lang.Object