#[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
impl StructuralPartialEq for ActionTypeIdentifierBuilder
Auto Trait Implementations§
impl Freeze for ActionTypeIdentifierBuilder
impl RefUnwindSafe for ActionTypeIdentifierBuilder
impl Send for ActionTypeIdentifierBuilder
impl Sync for ActionTypeIdentifierBuilder
impl Unpin for ActionTypeIdentifierBuilder
impl UnwindSafe for ActionTypeIdentifierBuilder
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