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 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<CreateProtectionOutputBuilder> for CreateProtectionOutputBuilder
impl PartialEq<CreateProtectionOutputBuilder> 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 ==
.