Struct aws_sdk_shield::operation::create_protection::builders::CreateProtectionOutputBuilder
source · #[non_exhaustive]pub struct CreateProtectionOutputBuilder { /* private fields */ }
Expand description
A builder for CreateProtectionOutput
.
Implementations§
source§impl CreateProtectionOutputBuilder
impl CreateProtectionOutputBuilder
sourcepub fn protection_id(self, input: impl Into<String>) -> Self
pub fn protection_id(self, input: impl Into<String>) -> Self
The unique identifier (ID) for the Protection
object that is created.
sourcepub fn set_protection_id(self, input: Option<String>) -> Self
pub fn set_protection_id(self, input: Option<String>) -> Self
The unique identifier (ID) for the Protection
object that is created.
sourcepub fn get_protection_id(&self) -> &Option<String>
pub fn get_protection_id(&self) -> &Option<String>
The unique identifier (ID) for the Protection
object that is created.
sourcepub fn build(self) -> CreateProtectionOutput
pub fn build(self) -> CreateProtectionOutput
Consumes the builder and constructs a CreateProtectionOutput
.
Trait Implementations§
source§impl Clone for CreateProtectionOutputBuilder
impl Clone for CreateProtectionOutputBuilder
source§fn clone(&self) -> CreateProtectionOutputBuilder
fn clone(&self) -> CreateProtectionOutputBuilder
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 CreateProtectionOutputBuilder
impl Default for CreateProtectionOutputBuilder
source§fn default() -> CreateProtectionOutputBuilder
fn default() -> CreateProtectionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateProtectionOutputBuilder
impl PartialEq for CreateProtectionOutputBuilder
source§fn eq(&self, other: &CreateProtectionOutputBuilder) -> bool
fn eq(&self, other: &CreateProtectionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateProtectionOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateProtectionOutputBuilder
impl RefUnwindSafe for CreateProtectionOutputBuilder
impl Send for CreateProtectionOutputBuilder
impl Sync for CreateProtectionOutputBuilder
impl Unpin for CreateProtectionOutputBuilder
impl UnwindSafe for CreateProtectionOutputBuilder
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> 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>
Creates a shared type from an unshared type.