Struct aws_sdk_codepipeline::model::pipeline_declaration::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for PipelineDeclaration
Implementations
sourceimpl Builder
impl Builder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
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
.
sourcepub fn artifact_store(self, input: ArtifactStore) -> Self
pub fn artifact_store(self, input: ArtifactStore) -> Self
Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
sourcepub fn set_artifact_store(self, input: Option<ArtifactStore>) -> Self
pub fn set_artifact_store(self, input: Option<ArtifactStore>) -> Self
Represents information about the S3 bucket where artifacts are stored for the pipeline.
You must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
sourcepub fn artifact_stores(self, k: impl Into<String>, v: ArtifactStore) -> Self
pub fn artifact_stores(self, k: impl Into<String>, v: ArtifactStore) -> Self
Adds a key-value pair to artifact_stores
.
To override the contents of this collection use set_artifact_stores
.
A mapping of artifactStore
objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
You must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
sourcepub fn set_artifact_stores(
self,
input: Option<HashMap<String, ArtifactStore>>
) -> Self
pub fn set_artifact_stores(
self,
input: Option<HashMap<String, ArtifactStore>>
) -> Self
A mapping of artifactStore
objects and their corresponding AWS Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.
You must include either artifactStore
or artifactStores
in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores
.
sourcepub fn stages(self, input: StageDeclaration) -> Self
pub fn stages(self, input: StageDeclaration) -> Self
Appends an item to stages
.
To override the contents of this collection use set_stages
.
The stage in which to perform the action.
sourcepub fn set_stages(self, input: Option<Vec<StageDeclaration>>) -> Self
pub fn set_stages(self, input: Option<Vec<StageDeclaration>>) -> Self
The stage in which to perform the action.
sourcepub fn version(self, input: i32) -> Self
pub fn version(self, input: i32) -> Self
The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.
sourcepub fn build(self) -> PipelineDeclaration
pub fn build(self) -> PipelineDeclaration
Consumes the builder and constructs a PipelineDeclaration
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more