#[non_exhaustive]pub struct PipelineTriggerDeclarationBuilder { /* private fields */ }
Expand description
A builder for PipelineTriggerDeclaration
.
Implementations§
source§impl PipelineTriggerDeclarationBuilder
impl PipelineTriggerDeclarationBuilder
sourcepub fn provider_type(self, input: PipelineTriggerProviderType) -> Self
pub fn provider_type(self, input: PipelineTriggerProviderType) -> Self
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
This field is required.sourcepub fn set_provider_type(
self,
input: Option<PipelineTriggerProviderType>,
) -> Self
pub fn set_provider_type( self, input: Option<PipelineTriggerProviderType>, ) -> Self
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
sourcepub fn get_provider_type(&self) -> &Option<PipelineTriggerProviderType>
pub fn get_provider_type(&self) -> &Option<PipelineTriggerProviderType>
The source provider for the event, such as connections configured for a repository with Git tags, for the specified trigger configuration.
sourcepub fn git_configuration(self, input: GitConfiguration) -> Self
pub fn git_configuration(self, input: GitConfiguration) -> Self
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
This field is required.sourcepub fn set_git_configuration(self, input: Option<GitConfiguration>) -> Self
pub fn set_git_configuration(self, input: Option<GitConfiguration>) -> Self
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
sourcepub fn get_git_configuration(&self) -> &Option<GitConfiguration>
pub fn get_git_configuration(&self) -> &Option<GitConfiguration>
Provides the filter criteria and the source stage for the repository event that starts the pipeline, such as Git tags.
sourcepub fn build(self) -> Result<PipelineTriggerDeclaration, BuildError>
pub fn build(self) -> Result<PipelineTriggerDeclaration, BuildError>
Consumes the builder and constructs a PipelineTriggerDeclaration
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PipelineTriggerDeclarationBuilder
impl Clone for PipelineTriggerDeclarationBuilder
source§fn clone(&self) -> PipelineTriggerDeclarationBuilder
fn clone(&self) -> PipelineTriggerDeclarationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipelineTriggerDeclarationBuilder
impl Default for PipelineTriggerDeclarationBuilder
source§fn default() -> PipelineTriggerDeclarationBuilder
fn default() -> PipelineTriggerDeclarationBuilder
source§impl PartialEq for PipelineTriggerDeclarationBuilder
impl PartialEq for PipelineTriggerDeclarationBuilder
source§fn eq(&self, other: &PipelineTriggerDeclarationBuilder) -> bool
fn eq(&self, other: &PipelineTriggerDeclarationBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PipelineTriggerDeclarationBuilder
Auto Trait Implementations§
impl Freeze for PipelineTriggerDeclarationBuilder
impl RefUnwindSafe for PipelineTriggerDeclarationBuilder
impl Send for PipelineTriggerDeclarationBuilder
impl Sync for PipelineTriggerDeclarationBuilder
impl Unpin for PipelineTriggerDeclarationBuilder
impl UnwindSafe for PipelineTriggerDeclarationBuilder
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