public class PutPipelineDefinitionRequest extends AmazonWebServiceRequest implements Serializable
PutPipelineDefinition operation
.
Adds tasks, schedules, and preconditions that control the behavior of the pipeline. You can use PutPipelineDefinition to populate a new pipeline or to update an existing pipeline that has not yet been activated.
PutPipelineDefinition also validates the configuration as it adds it to the pipeline. Changes to the pipeline are saved unless one of the following three validation errors exists in the pipeline.
Pipeline object definitions are passed to the PutPipelineDefinition action and returned by the GetPipelineDefinition action.
Constructor and Description |
---|
PutPipelineDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPipelineId()
The identifier of the pipeline to be configured.
|
List<PipelineObject> |
getPipelineObjects()
The objects that define the pipeline.
|
int |
hashCode() |
void |
setPipelineId(String pipelineId)
The identifier of the pipeline to be configured.
|
void |
setPipelineObjects(Collection<PipelineObject> pipelineObjects)
The objects that define the pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutPipelineDefinitionRequest |
withPipelineId(String pipelineId)
The identifier of the pipeline to be configured.
|
PutPipelineDefinitionRequest |
withPipelineObjects(Collection<PipelineObject> pipelineObjects)
The objects that define the pipeline.
|
PutPipelineDefinitionRequest |
withPipelineObjects(PipelineObject... pipelineObjects)
The objects that define the pipeline.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- The identifier of the pipeline to be configured.public PutPipelineDefinitionRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [ --�𐀀-\r\n\t]*
pipelineId
- The identifier of the pipeline to be configured.public List<PipelineObject> getPipelineObjects()
public void setPipelineObjects(Collection<PipelineObject> pipelineObjects)
pipelineObjects
- The objects that define the pipeline. These will overwrite the
existing pipeline definition.public PutPipelineDefinitionRequest withPipelineObjects(PipelineObject... pipelineObjects)
Returns a reference to this object so that method calls can be chained together.
pipelineObjects
- The objects that define the pipeline. These will overwrite the
existing pipeline definition.public PutPipelineDefinitionRequest withPipelineObjects(Collection<PipelineObject> pipelineObjects)
Returns a reference to this object so that method calls can be chained together.
pipelineObjects
- The objects that define the pipeline. These will overwrite the
existing pipeline definition.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.