Struct aws_sdk_codepipeline::types::builders::ActionTypeIdBuilder
source · #[non_exhaustive]pub struct ActionTypeIdBuilder { /* private fields */ }
Expand description
A builder for ActionTypeId
.
Implementations§
source§impl ActionTypeIdBuilder
impl ActionTypeIdBuilder
sourcepub fn category(self, input: ActionCategory) -> Self
pub fn category(self, input: ActionCategory) -> Self
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.
-
Source
-
Build
-
Test
-
Deploy
-
Invoke
-
Approval
sourcepub fn set_category(self, input: Option<ActionCategory>) -> Self
pub fn set_category(self, input: Option<ActionCategory>) -> Self
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.
-
Source
-
Build
-
Test
-
Deploy
-
Invoke
-
Approval
sourcepub fn get_category(&self) -> &Option<ActionCategory>
pub fn get_category(&self) -> &Option<ActionCategory>
A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Valid categories are limited to one of the following values.
-
Source
-
Build
-
Test
-
Deploy
-
Invoke
-
Approval
sourcepub fn owner(self, input: ActionOwner) -> Self
pub fn owner(self, input: ActionOwner) -> Self
The creator of the action being called. There are three valid values for the Owner
field in the action category section within your pipeline structure: AWS
, ThirdParty
, and Custom
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn set_owner(self, input: Option<ActionOwner>) -> Self
pub fn set_owner(self, input: Option<ActionOwner>) -> Self
The creator of the action being called. There are three valid values for the Owner
field in the action category section within your pipeline structure: AWS
, ThirdParty
, and Custom
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn get_owner(&self) -> &Option<ActionOwner>
pub fn get_owner(&self) -> &Option<ActionOwner>
The creator of the action being called. There are three valid values for the Owner
field in the action category section within your pipeline structure: AWS
, ThirdParty
, and Custom
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the service being called by the action. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified as CodeDeploy
. For more information, see Valid Action Types and Providers in CodePipeline.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
A string that describes the action version.
This field is required.sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
A string that describes the action version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
A string that describes the action version.
sourcepub fn build(self) -> Result<ActionTypeId, BuildError>
pub fn build(self) -> Result<ActionTypeId, BuildError>
Consumes the builder and constructs a ActionTypeId
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActionTypeIdBuilder
impl Clone for ActionTypeIdBuilder
source§fn clone(&self) -> ActionTypeIdBuilder
fn clone(&self) -> ActionTypeIdBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionTypeIdBuilder
impl Debug for ActionTypeIdBuilder
source§impl Default for ActionTypeIdBuilder
impl Default for ActionTypeIdBuilder
source§fn default() -> ActionTypeIdBuilder
fn default() -> ActionTypeIdBuilder
source§impl PartialEq for ActionTypeIdBuilder
impl PartialEq for ActionTypeIdBuilder
impl StructuralPartialEq for ActionTypeIdBuilder
Auto Trait Implementations§
impl Freeze for ActionTypeIdBuilder
impl RefUnwindSafe for ActionTypeIdBuilder
impl Send for ActionTypeIdBuilder
impl Sync for ActionTypeIdBuilder
impl Unpin for ActionTypeIdBuilder
impl UnwindSafe for ActionTypeIdBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more