Struct aws_sdk_accessanalyzer::operation::check_access_not_granted::builders::CheckAccessNotGrantedOutputBuilder
source · #[non_exhaustive]pub struct CheckAccessNotGrantedOutputBuilder { /* private fields */ }Expand description
A builder for CheckAccessNotGrantedOutput.
Implementations§
source§impl CheckAccessNotGrantedOutputBuilder
impl CheckAccessNotGrantedOutputBuilder
sourcepub fn result(self, input: CheckAccessNotGrantedResult) -> Self
pub fn result(self, input: CheckAccessNotGrantedResult) -> Self
The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
sourcepub fn set_result(self, input: Option<CheckAccessNotGrantedResult>) -> Self
pub fn set_result(self, input: Option<CheckAccessNotGrantedResult>) -> Self
The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
sourcepub fn get_result(&self) -> &Option<CheckAccessNotGrantedResult>
pub fn get_result(&self) -> &Option<CheckAccessNotGrantedResult>
The result of the check for whether the access is allowed. If the result is PASS, the specified policy doesn't allow any of the specified permissions in the access object. If the result is FAIL, the specified policy might allow some or all of the permissions in the access object.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message indicating whether the specified access is allowed.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message indicating whether the specified access is allowed.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The message indicating whether the specified access is allowed.
sourcepub fn reasons(self, input: ReasonSummary) -> Self
pub fn reasons(self, input: ReasonSummary) -> Self
Appends an item to reasons.
To override the contents of this collection use set_reasons.
A description of the reasoning of the result.
sourcepub fn set_reasons(self, input: Option<Vec<ReasonSummary>>) -> Self
pub fn set_reasons(self, input: Option<Vec<ReasonSummary>>) -> Self
A description of the reasoning of the result.
sourcepub fn get_reasons(&self) -> &Option<Vec<ReasonSummary>>
pub fn get_reasons(&self) -> &Option<Vec<ReasonSummary>>
A description of the reasoning of the result.
sourcepub fn build(self) -> CheckAccessNotGrantedOutput
pub fn build(self) -> CheckAccessNotGrantedOutput
Consumes the builder and constructs a CheckAccessNotGrantedOutput.
Trait Implementations§
source§impl Clone for CheckAccessNotGrantedOutputBuilder
impl Clone for CheckAccessNotGrantedOutputBuilder
source§fn clone(&self) -> CheckAccessNotGrantedOutputBuilder
fn clone(&self) -> CheckAccessNotGrantedOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CheckAccessNotGrantedOutputBuilder
impl Default for CheckAccessNotGrantedOutputBuilder
source§fn default() -> CheckAccessNotGrantedOutputBuilder
fn default() -> CheckAccessNotGrantedOutputBuilder
source§impl PartialEq for CheckAccessNotGrantedOutputBuilder
impl PartialEq for CheckAccessNotGrantedOutputBuilder
source§fn eq(&self, other: &CheckAccessNotGrantedOutputBuilder) -> bool
fn eq(&self, other: &CheckAccessNotGrantedOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.