public class PutPipelineDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
PutPipelineDefinition operation
.
Adds tasks, schedules, and preconditions to the specified pipeline.
You can use PutPipelineDefinition
to populate a new
pipeline.
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.
NOOP
Constructor and Description |
---|
PutPipelineDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
PutPipelineDefinitionRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
List<ParameterObject> |
getParameterObjects()
The parameter objects used with the pipeline.
|
List<ParameterValue> |
getParameterValues()
The parameter values used with the pipeline.
|
String |
getPipelineId()
The ID of the pipeline.
|
List<PipelineObject> |
getPipelineObjects()
The objects that define the pipeline.
|
int |
hashCode() |
void |
setParameterObjects(Collection<ParameterObject> parameterObjects)
The parameter objects used with the pipeline.
|
void |
setParameterValues(Collection<ParameterValue> parameterValues)
The parameter values used with the pipeline.
|
void |
setPipelineId(String pipelineId)
The ID of the pipeline.
|
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 |
withParameterObjects(Collection<ParameterObject> parameterObjects)
The parameter objects used with the pipeline.
|
PutPipelineDefinitionRequest |
withParameterObjects(ParameterObject... parameterObjects)
The parameter objects used with the pipeline.
|
PutPipelineDefinitionRequest |
withParameterValues(Collection<ParameterValue> parameterValues)
The parameter values used with the pipeline.
|
PutPipelineDefinitionRequest |
withParameterValues(ParameterValue... parameterValues)
The parameter values used with the pipeline.
|
PutPipelineDefinitionRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
PutPipelineDefinitionRequest |
withPipelineObjects(Collection<PipelineObject> pipelineObjects)
The objects that define the pipeline.
|
PutPipelineDefinitionRequest |
withPipelineObjects(PipelineObject... pipelineObjects)
The objects that define the pipeline.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId
- The ID of the pipeline.public PutPipelineDefinitionRequest withPipelineId(String pipelineId)
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 ID of the pipeline.public List<PipelineObject> getPipelineObjects()
public void setPipelineObjects(Collection<PipelineObject> pipelineObjects)
pipelineObjects
- The objects that define the pipeline. These objects overwrite the
existing pipeline definition.public PutPipelineDefinitionRequest withPipelineObjects(PipelineObject... pipelineObjects)
NOTE: This method appends the values to the existing list (if
any). Use setPipelineObjects(java.util.Collection)
or withPipelineObjects(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.
pipelineObjects
- The objects that define the pipeline. These objects 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 objects overwrite the
existing pipeline definition.public List<ParameterObject> getParameterObjects()
public void setParameterObjects(Collection<ParameterObject> parameterObjects)
parameterObjects
- The parameter objects used with the pipeline.public PutPipelineDefinitionRequest withParameterObjects(ParameterObject... parameterObjects)
NOTE: This method appends the values to the existing list (if
any). Use setParameterObjects(java.util.Collection)
or withParameterObjects(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.
parameterObjects
- The parameter objects used with the pipeline.public PutPipelineDefinitionRequest withParameterObjects(Collection<ParameterObject> parameterObjects)
Returns a reference to this object so that method calls can be chained together.
parameterObjects
- The parameter objects used with the pipeline.public List<ParameterValue> getParameterValues()
public void setParameterValues(Collection<ParameterValue> parameterValues)
parameterValues
- The parameter values used with the pipeline.public PutPipelineDefinitionRequest withParameterValues(ParameterValue... parameterValues)
NOTE: This method appends the values to the existing list (if
any). Use setParameterValues(java.util.Collection)
or withParameterValues(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.
parameterValues
- The parameter values used with the pipeline.public PutPipelineDefinitionRequest withParameterValues(Collection<ParameterValue> parameterValues)
Returns a reference to this object so that method calls can be chained together.
parameterValues
- The parameter values used with the pipeline.public String toString()
toString
in class Object
Object.toString()
public PutPipelineDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.