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
source§fn eq(&self, other: &ActionTypeIdBuilder) -> bool
fn eq(&self, other: &ActionTypeIdBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.