Struct aws_sdk_sns::operation::get_data_protection_policy::builders::GetDataProtectionPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetDataProtectionPolicyOutputBuilder { /* private fields */ }Expand description
A builder for GetDataProtectionPolicyOutput.
Implementations§
source§impl GetDataProtectionPolicyOutputBuilder
impl GetDataProtectionPolicyOutputBuilder
sourcepub fn data_protection_policy(self, input: impl Into<String>) -> Self
pub fn data_protection_policy(self, input: impl Into<String>) -> Self
Retrieves the DataProtectionPolicy in JSON string format.
sourcepub fn set_data_protection_policy(self, input: Option<String>) -> Self
pub fn set_data_protection_policy(self, input: Option<String>) -> Self
Retrieves the DataProtectionPolicy in JSON string format.
sourcepub fn get_data_protection_policy(&self) -> &Option<String>
pub fn get_data_protection_policy(&self) -> &Option<String>
Retrieves the DataProtectionPolicy in JSON string format.
sourcepub fn build(self) -> GetDataProtectionPolicyOutput
pub fn build(self) -> GetDataProtectionPolicyOutput
Consumes the builder and constructs a GetDataProtectionPolicyOutput.
Trait Implementations§
source§impl Clone for GetDataProtectionPolicyOutputBuilder
impl Clone for GetDataProtectionPolicyOutputBuilder
source§fn clone(&self) -> GetDataProtectionPolicyOutputBuilder
fn clone(&self) -> GetDataProtectionPolicyOutputBuilder
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 GetDataProtectionPolicyOutputBuilder
impl Default for GetDataProtectionPolicyOutputBuilder
source§fn default() -> GetDataProtectionPolicyOutputBuilder
fn default() -> GetDataProtectionPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDataProtectionPolicyOutputBuilder
impl PartialEq for GetDataProtectionPolicyOutputBuilder
source§fn eq(&self, other: &GetDataProtectionPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetDataProtectionPolicyOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetDataProtectionPolicyOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetDataProtectionPolicyOutputBuilder
impl Send for GetDataProtectionPolicyOutputBuilder
impl Sync for GetDataProtectionPolicyOutputBuilder
impl Unpin for GetDataProtectionPolicyOutputBuilder
impl UnwindSafe for GetDataProtectionPolicyOutputBuilder
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.