#[non_exhaustive]pub struct ActionTypeIdentifierBuilder { /* private fields */ }Expand description
A builder for ActionTypeIdentifier.
Implementations§
source§impl ActionTypeIdentifierBuilder
impl ActionTypeIdentifierBuilder
sourcepub fn category(self, input: ActionCategory) -> Self
pub fn category(self, input: ActionCategory) -> Self
Defines what kind of action can be taken in the stage, one of the following:
-
Source -
Build -
Test -
Deploy -
Approval -
Invoke
sourcepub fn set_category(self, input: Option<ActionCategory>) -> Self
pub fn set_category(self, input: Option<ActionCategory>) -> Self
Defines what kind of action can be taken in the stage, one of the following:
-
Source -
Build -
Test -
Deploy -
Approval -
Invoke
sourcepub fn get_category(&self) -> &Option<ActionCategory>
pub fn get_category(&self) -> &Option<ActionCategory>
Defines what kind of action can be taken in the stage, one of the following:
-
Source -
Build -
Test -
Deploy -
Approval -
Invoke
sourcepub fn owner(self, input: impl Into<String>) -> Self
pub fn owner(self, input: impl Into<String>) -> Self
The creator of the action type being called: AWS or ThirdParty.
sourcepub fn set_owner(self, input: Option<String>) -> Self
pub fn set_owner(self, input: Option<String>) -> Self
The creator of the action type being called: AWS or ThirdParty.
sourcepub fn get_owner(&self) -> &Option<String>
pub fn get_owner(&self) -> &Option<String>
The creator of the action type being called: AWS or ThirdParty.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the action type being called. The provider name is supplied when the action type is created.
This field is required.sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the action type being called. The provider name is supplied when the action type is created.
sourcepub fn get_provider(&self) -> &Option<String>
pub fn get_provider(&self) -> &Option<String>
The provider of the action type being called. The provider name is supplied when the action type is created.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
A string that describes the action type 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 type version.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
A string that describes the action type version.
sourcepub fn build(self) -> Result<ActionTypeIdentifier, BuildError>
pub fn build(self) -> Result<ActionTypeIdentifier, BuildError>
Consumes the builder and constructs a ActionTypeIdentifier.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ActionTypeIdentifierBuilder
impl Clone for ActionTypeIdentifierBuilder
source§fn clone(&self) -> ActionTypeIdentifierBuilder
fn clone(&self) -> ActionTypeIdentifierBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ActionTypeIdentifierBuilder
impl Debug for ActionTypeIdentifierBuilder
source§impl Default for ActionTypeIdentifierBuilder
impl Default for ActionTypeIdentifierBuilder
source§fn default() -> ActionTypeIdentifierBuilder
fn default() -> ActionTypeIdentifierBuilder
source§impl PartialEq for ActionTypeIdentifierBuilder
impl PartialEq for ActionTypeIdentifierBuilder
source§fn eq(&self, other: &ActionTypeIdentifierBuilder) -> bool
fn eq(&self, other: &ActionTypeIdentifierBuilder) -> bool
self and other values to be equal, and is used
by ==.