Struct aws_sdk_codestarconnections::operation::update_sync_blocker::builders::UpdateSyncBlockerOutputBuilder
source · #[non_exhaustive]pub struct UpdateSyncBlockerOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateSyncBlockerOutput
.
Implementations§
source§impl UpdateSyncBlockerOutputBuilder
impl UpdateSyncBlockerOutputBuilder
sourcepub fn resource_name(self, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
The resource name for the sync blocker.
This field is required.sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
The resource name for the sync blocker.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
The resource name for the sync blocker.
sourcepub fn parent_resource_name(self, input: impl Into<String>) -> Self
pub fn parent_resource_name(self, input: impl Into<String>) -> Self
The parent resource name for the sync blocker.
sourcepub fn set_parent_resource_name(self, input: Option<String>) -> Self
pub fn set_parent_resource_name(self, input: Option<String>) -> Self
The parent resource name for the sync blocker.
sourcepub fn get_parent_resource_name(&self) -> &Option<String>
pub fn get_parent_resource_name(&self) -> &Option<String>
The parent resource name for the sync blocker.
sourcepub fn sync_blocker(self, input: SyncBlocker) -> Self
pub fn sync_blocker(self, input: SyncBlocker) -> Self
Information about the sync blocker to be updated.
This field is required.sourcepub fn set_sync_blocker(self, input: Option<SyncBlocker>) -> Self
pub fn set_sync_blocker(self, input: Option<SyncBlocker>) -> Self
Information about the sync blocker to be updated.
sourcepub fn get_sync_blocker(&self) -> &Option<SyncBlocker>
pub fn get_sync_blocker(&self) -> &Option<SyncBlocker>
Information about the sync blocker to be updated.
sourcepub fn build(self) -> Result<UpdateSyncBlockerOutput, BuildError>
pub fn build(self) -> Result<UpdateSyncBlockerOutput, BuildError>
Consumes the builder and constructs a UpdateSyncBlockerOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateSyncBlockerOutputBuilder
impl Clone for UpdateSyncBlockerOutputBuilder
source§fn clone(&self) -> UpdateSyncBlockerOutputBuilder
fn clone(&self) -> UpdateSyncBlockerOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateSyncBlockerOutputBuilder
impl Default for UpdateSyncBlockerOutputBuilder
source§fn default() -> UpdateSyncBlockerOutputBuilder
fn default() -> UpdateSyncBlockerOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateSyncBlockerOutputBuilder
impl PartialEq for UpdateSyncBlockerOutputBuilder
source§fn eq(&self, other: &UpdateSyncBlockerOutputBuilder) -> bool
fn eq(&self, other: &UpdateSyncBlockerOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateSyncBlockerOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSyncBlockerOutputBuilder
impl RefUnwindSafe for UpdateSyncBlockerOutputBuilder
impl Send for UpdateSyncBlockerOutputBuilder
impl Sync for UpdateSyncBlockerOutputBuilder
impl Unpin for UpdateSyncBlockerOutputBuilder
impl UnwindSafe for UpdateSyncBlockerOutputBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.