Struct aws_sdk_secretsmanager::operation::validate_resource_policy::builders::ValidateResourcePolicyOutputBuilder
source · #[non_exhaustive]pub struct ValidateResourcePolicyOutputBuilder { /* private fields */ }
Expand description
A builder for ValidateResourcePolicyOutput
.
Implementations§
source§impl ValidateResourcePolicyOutputBuilder
impl ValidateResourcePolicyOutputBuilder
sourcepub fn policy_validation_passed(self, input: bool) -> Self
pub fn policy_validation_passed(self, input: bool) -> Self
True if your policy passes validation, otherwise false.
sourcepub fn set_policy_validation_passed(self, input: Option<bool>) -> Self
pub fn set_policy_validation_passed(self, input: Option<bool>) -> Self
True if your policy passes validation, otherwise false.
sourcepub fn get_policy_validation_passed(&self) -> &Option<bool>
pub fn get_policy_validation_passed(&self) -> &Option<bool>
True if your policy passes validation, otherwise false.
sourcepub fn validation_errors(self, input: ValidationErrorsEntry) -> Self
pub fn validation_errors(self, input: ValidationErrorsEntry) -> Self
Appends an item to validation_errors
.
To override the contents of this collection use set_validation_errors
.
Validation errors if your policy didn't pass validation.
sourcepub fn set_validation_errors(
self,
input: Option<Vec<ValidationErrorsEntry>>,
) -> Self
pub fn set_validation_errors( self, input: Option<Vec<ValidationErrorsEntry>>, ) -> Self
Validation errors if your policy didn't pass validation.
sourcepub fn get_validation_errors(&self) -> &Option<Vec<ValidationErrorsEntry>>
pub fn get_validation_errors(&self) -> &Option<Vec<ValidationErrorsEntry>>
Validation errors if your policy didn't pass validation.
sourcepub fn build(self) -> ValidateResourcePolicyOutput
pub fn build(self) -> ValidateResourcePolicyOutput
Consumes the builder and constructs a ValidateResourcePolicyOutput
.
Trait Implementations§
source§impl Clone for ValidateResourcePolicyOutputBuilder
impl Clone for ValidateResourcePolicyOutputBuilder
source§fn clone(&self) -> ValidateResourcePolicyOutputBuilder
fn clone(&self) -> ValidateResourcePolicyOutputBuilder
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 ValidateResourcePolicyOutputBuilder
impl Default for ValidateResourcePolicyOutputBuilder
source§fn default() -> ValidateResourcePolicyOutputBuilder
fn default() -> ValidateResourcePolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidateResourcePolicyOutputBuilder
impl PartialEq for ValidateResourcePolicyOutputBuilder
source§fn eq(&self, other: &ValidateResourcePolicyOutputBuilder) -> bool
fn eq(&self, other: &ValidateResourcePolicyOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ValidateResourcePolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for ValidateResourcePolicyOutputBuilder
impl RefUnwindSafe for ValidateResourcePolicyOutputBuilder
impl Send for ValidateResourcePolicyOutputBuilder
impl Sync for ValidateResourcePolicyOutputBuilder
impl Unpin for ValidateResourcePolicyOutputBuilder
impl UnwindSafe for ValidateResourcePolicyOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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>
Creates a shared type from an unshared type.