public class PipelineObject
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Field> |
fields
Key-value pairs that define the properties of the object.
|
private java.lang.String |
id
The ID of the object.
|
private java.lang.String |
name
The name of the object.
|
Constructor and Description |
---|
PipelineObject() |
Modifier and Type | Method and Description |
---|---|
PipelineObject |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Field> |
getFields()
Key-value pairs that define the properties of the object.
|
java.lang.String |
getId()
The ID of the object.
|
java.lang.String |
getName()
The name of the object.
|
int |
hashCode() |
void |
setFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the object.
|
void |
setId(java.lang.String id)
The ID of the object.
|
void |
setName(java.lang.String name)
The name of the object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineObject |
withFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the object.
|
PipelineObject |
withFields(Field... fields)
Key-value pairs that define the properties of the object.
|
PipelineObject |
withId(java.lang.String id)
The ID of the object.
|
PipelineObject |
withName(java.lang.String name)
The name of the object.
|
private java.lang.String id
The ID of the object.
private java.lang.String name
The name of the object.
private SdkInternalList<Field> fields
Key-value pairs that define the properties of the object.
public void setId(java.lang.String id)
The ID of the object.
id
- The ID of the object.public java.lang.String getId()
The ID of the object.
public PipelineObject withId(java.lang.String id)
The ID of the object.
id
- The ID of the object.public void setName(java.lang.String name)
The name of the object.
name
- The name of the object.public java.lang.String getName()
The name of the object.
public PipelineObject withName(java.lang.String name)
The name of the object.
name
- The name of the object.public java.util.List<Field> getFields()
Key-value pairs that define the properties of the object.
public void setFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the object.
fields
- Key-value pairs that define the properties of the object.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)
or
withFields(java.util.Collection)
if you want to override the
existing values.
fields
- Key-value pairs that define the properties of the object.public PipelineObject withFields(java.util.Collection<Field> fields)
Key-value pairs that define the properties of the object.
fields
- Key-value pairs that define the properties of the object.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 PipelineObject clone()
clone
in class java.lang.Object