public class PipelineDescription extends Object implements Serializable, Cloneable
Contains pipeline metadata.
Constructor and Description |
---|
PipelineDescription() |
Modifier and Type | Method and Description |
---|---|
PipelineDescription |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
Description of the pipeline.
|
List<Field> |
getFields()
A list of read-only fields that contain metadata about the pipeline:
|
String |
getName()
The name of the pipeline.
|
String |
getPipelineId()
The pipeline identifier that was assigned by AWS Data Pipeline.
|
List<Tag> |
getTags()
A list of tags to associated with a pipeline.
|
int |
hashCode() |
void |
setDescription(String description)
Description of the pipeline.
|
void |
setFields(Collection<Field> fields)
A list of read-only fields that contain metadata about the pipeline:
|
void |
setName(String name)
The name of the pipeline.
|
void |
setPipelineId(String pipelineId)
The pipeline identifier that was assigned by AWS Data Pipeline.
|
void |
setTags(Collection<Tag> tags)
A list of tags to associated with a pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineDescription |
withDescription(String description)
Description of the pipeline.
|
PipelineDescription |
withFields(Collection<Field> fields)
A list of read-only fields that contain metadata about the pipeline:
|
PipelineDescription |
withFields(Field... fields)
A list of read-only fields that contain metadata about the pipeline:
|
PipelineDescription |
withName(String name)
The name of the pipeline.
|
PipelineDescription |
withPipelineId(String pipelineId)
The pipeline identifier that was assigned by AWS Data Pipeline.
|
PipelineDescription |
withTags(Collection<Tag> tags)
A list of tags to associated with a pipeline.
|
PipelineDescription |
withTags(Tag... tags)
A list of tags to associated with a pipeline.
|
public String getPipelineId()
df-297EG78HU43EEXAMPLE
.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
df-297EG78HU43EEXAMPLE
.public void setPipelineId(String pipelineId)
df-297EG78HU43EEXAMPLE
.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The pipeline identifier that was assigned by AWS Data Pipeline. This
is a string of the form df-297EG78HU43EEXAMPLE
.public PipelineDescription withPipelineId(String pipelineId)
df-297EG78HU43EEXAMPLE
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The pipeline identifier that was assigned by AWS Data Pipeline. This
is a string of the form df-297EG78HU43EEXAMPLE
.public String getName()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setName(String name)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- The name of the pipeline.public PipelineDescription withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- The name of the pipeline.public List<Field> getFields()
public void setFields(Collection<Field> fields)
fields
- A list of read-only fields that contain metadata about the pipeline:public PipelineDescription withFields(Field... fields)
fields
- A list of read-only fields that contain metadata about the pipeline:public PipelineDescription withFields(Collection<Field> fields)
fields
- A list of read-only fields that contain metadata about the pipeline:public String getDescription()
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setDescription(String description)
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
description
- Description of the pipeline.public PipelineDescription withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
description
- Description of the pipeline.public List<Tag> getTags()
Constraints:
Length: 0 - 10
public void setTags(Collection<Tag> tags)
Constraints:
Length: 0 - 10
tags
- A list of tags to associated with a pipeline. Tags let you control
access to pipelines. For more information, see Controlling
User Access to Pipelines in the AWS Data Pipeline Developer
Guide.public PipelineDescription withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if
any). Use setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the existing
values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
tags
- A list of tags to associated with a pipeline. Tags let you control
access to pipelines. For more information, see Controlling
User Access to Pipelines in the AWS Data Pipeline Developer
Guide.public PipelineDescription withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
tags
- A list of tags to associated with a pipeline. Tags let you control
access to pipelines. For more information, see Controlling
User Access to Pipelines in the AWS Data Pipeline Developer
Guide.public String toString()
toString
in class Object
Object.toString()
public PipelineDescription clone()
Copyright © 2015. All rights reserved.