@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipelineDeclaration extends Object implements Serializable, Cloneable, StructuredPojo
Represents the structure of actions and stages to be performed in the pipeline.
Constructor and Description |
---|
PipelineDeclaration() |
Modifier and Type | Method and Description |
---|---|
PipelineDeclaration |
addArtifactStoresEntry(String key,
ArtifactStore value) |
PipelineDeclaration |
clearArtifactStoresEntries()
Removes all the entries added into ArtifactStores.
|
PipelineDeclaration |
clone() |
boolean |
equals(Object obj) |
ArtifactStore |
getArtifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
Map<String,ArtifactStore> |
getArtifactStores()
A mapping of
artifactStore objects and their corresponding regions. |
String |
getName()
The name of the action to be performed.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn , or to use to assume roles for actions with an actionRoleArn . |
List<StageDeclaration> |
getStages()
The stage in which to perform the action.
|
Integer |
getVersion()
The version number of the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtifactStore(ArtifactStore artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
void |
setArtifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of
artifactStore objects and their corresponding regions. |
void |
setName(String name)
The name of the action to be performed.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn , or to use to assume roles for actions with an actionRoleArn . |
void |
setStages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
|
void |
setVersion(Integer version)
The version number of the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
PipelineDeclaration |
withArtifactStore(ArtifactStore artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
PipelineDeclaration |
withArtifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of
artifactStore objects and their corresponding regions. |
PipelineDeclaration |
withName(String name)
The name of the action to be performed.
|
PipelineDeclaration |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn , or to use to assume roles for actions with an actionRoleArn . |
PipelineDeclaration |
withStages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
|
PipelineDeclaration |
withStages(StageDeclaration... stages)
The stage in which to perform the action.
|
PipelineDeclaration |
withVersion(Integer version)
The version number of the pipeline.
|
public void setName(String name)
The name of the action to be performed.
name
- The name of the action to be performed.public String getName()
The name of the action to be performed.
public PipelineDeclaration withName(String name)
The name of the action to be performed.
name
- The name of the action to be performed.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.
roleArn
- The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.public String getRoleArn()
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.public PipelineDeclaration withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.
roleArn
- The Amazon Resource Name (ARN) for AWS CodePipeline to use to either perform actions with no
actionRoleArn
, or to use to assume roles for actions with an actionRoleArn
.public void setArtifactStore(ArtifactStore artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
artifactStore
- Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.public ArtifactStore getArtifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
public PipelineDeclaration withArtifactStore(ArtifactStore artifactStore)
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
artifactStore
- Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.public Map<String,ArtifactStore> getArtifactStores()
A mapping of artifactStore
objects and their corresponding regions. There must be an artifact store
for the pipeline region and for each cross-region action within the pipeline. You can only use either
artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
artifactStore
objects and their corresponding regions. There must be an
artifact store for the pipeline region and for each cross-region action within the pipeline. You can only
use either artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
public void setArtifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of artifactStore
objects and their corresponding regions. There must be an artifact store
for the pipeline region and for each cross-region action within the pipeline. You can only use either
artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
artifactStores
- A mapping of artifactStore
objects and their corresponding regions. There must be an artifact
store for the pipeline region and for each cross-region action within the pipeline. You can only use
either artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
public PipelineDeclaration withArtifactStores(Map<String,ArtifactStore> artifactStores)
A mapping of artifactStore
objects and their corresponding regions. There must be an artifact store
for the pipeline region and for each cross-region action within the pipeline. You can only use either
artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
artifactStores
- A mapping of artifactStore
objects and their corresponding regions. There must be an artifact
store for the pipeline region and for each cross-region action within the pipeline. You can only use
either artifactStore
or artifactStores
, not both.
If you create a cross-region action in your pipeline, you must use artifactStores
.
public PipelineDeclaration addArtifactStoresEntry(String key, ArtifactStore value)
public PipelineDeclaration clearArtifactStoresEntries()
public List<StageDeclaration> getStages()
The stage in which to perform the action.
public void setStages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
stages
- The stage in which to perform the action.public PipelineDeclaration withStages(StageDeclaration... stages)
The stage in which to perform the action.
NOTE: This method appends the values to the existing list (if any). Use
setStages(java.util.Collection)
or withStages(java.util.Collection)
if you want to override the
existing values.
stages
- The stage in which to perform the action.public PipelineDeclaration withStages(Collection<StageDeclaration> stages)
The stage in which to perform the action.
stages
- The stage in which to perform the action.public void setVersion(Integer version)
The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated.
version
- The version number of the pipeline. A new pipeline always has a version number of 1. This number is
automatically incremented when a pipeline is updated.public Integer getVersion()
The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated.
public PipelineDeclaration withVersion(Integer version)
The version number of the pipeline. A new pipeline always has a version number of 1. This number is automatically incremented when a pipeline is updated.
version
- The version number of the pipeline. A new pipeline always has a version number of 1. This number is
automatically incremented when a pipeline is updated.public String toString()
toString
in class Object
Object.toString()
public PipelineDeclaration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.