@Generated(value="software.amazon.awssdk:codegen") public class PipelineDeclaration extends Object implements StructuredPojo, ToCopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
Represents the structure of actions and stages to be performed in the pipeline.
Modifier and Type | Class and Description |
---|---|
static interface |
PipelineDeclaration.Builder |
Modifier and Type | Method and Description |
---|---|
ArtifactStore |
artifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
|
static PipelineDeclaration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the action to be performed.
|
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.
|
static Class<? extends PipelineDeclaration.Builder> |
serializableBuilderClass() |
List<StageDeclaration> |
stages()
The stage in which to perform the action.
|
PipelineDeclaration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Integer |
version()
The version number of the pipeline.
|
copy
public String name()
The name of the action to be performed.
public 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.
public ArtifactStore artifactStore()
Represents information about the Amazon S3 bucket where artifacts are stored for the pipeline.
public List<StageDeclaration> stages()
The stage in which to perform the action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
public PipelineDeclaration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PipelineDeclaration.Builder,PipelineDeclaration>
public static PipelineDeclaration.Builder builder()
public static Class<? extends PipelineDeclaration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.