#[non_exhaustive]pub struct GeneratedPolicyResultBuilder { /* private fields */ }Expand description
A builder for GeneratedPolicyResult.
Implementations§
source§impl GeneratedPolicyResultBuilder
impl GeneratedPolicyResultBuilder
sourcepub fn properties(self, input: GeneratedPolicyProperties) -> Self
pub fn properties(self, input: GeneratedPolicyProperties) -> Self
A GeneratedPolicyProperties object that contains properties of the generated policy.
sourcepub fn set_properties(self, input: Option<GeneratedPolicyProperties>) -> Self
pub fn set_properties(self, input: Option<GeneratedPolicyProperties>) -> Self
A GeneratedPolicyProperties object that contains properties of the generated policy.
sourcepub fn get_properties(&self) -> &Option<GeneratedPolicyProperties>
pub fn get_properties(&self) -> &Option<GeneratedPolicyProperties>
A GeneratedPolicyProperties object that contains properties of the generated policy.
sourcepub fn generated_policies(self, input: GeneratedPolicy) -> Self
pub fn generated_policies(self, input: GeneratedPolicy) -> Self
Appends an item to generated_policies.
To override the contents of this collection use set_generated_policies.
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
sourcepub fn set_generated_policies(self, input: Option<Vec<GeneratedPolicy>>) -> Self
pub fn set_generated_policies(self, input: Option<Vec<GeneratedPolicy>>) -> Self
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
sourcepub fn get_generated_policies(&self) -> &Option<Vec<GeneratedPolicy>>
pub fn get_generated_policies(&self) -> &Option<Vec<GeneratedPolicy>>
The text to use as the content for the new policy. The policy is created using the CreatePolicy action.
sourcepub fn build(self) -> GeneratedPolicyResult
pub fn build(self) -> GeneratedPolicyResult
Consumes the builder and constructs a GeneratedPolicyResult.
Trait Implementations§
source§impl Clone for GeneratedPolicyResultBuilder
impl Clone for GeneratedPolicyResultBuilder
source§fn clone(&self) -> GeneratedPolicyResultBuilder
fn clone(&self) -> GeneratedPolicyResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GeneratedPolicyResultBuilder
impl Debug for GeneratedPolicyResultBuilder
source§impl Default for GeneratedPolicyResultBuilder
impl Default for GeneratedPolicyResultBuilder
source§fn default() -> GeneratedPolicyResultBuilder
fn default() -> GeneratedPolicyResultBuilder
source§impl PartialEq for GeneratedPolicyResultBuilder
impl PartialEq for GeneratedPolicyResultBuilder
source§fn eq(&self, other: &GeneratedPolicyResultBuilder) -> bool
fn eq(&self, other: &GeneratedPolicyResultBuilder) -> bool
self and other values to be equal, and is used
by ==.