#[non_exhaustive]pub struct PolicyTemplateItemBuilder { /* private fields */ }Expand description
A builder for PolicyTemplateItem.
Implementations§
source§impl PolicyTemplateItemBuilder
impl PolicyTemplateItemBuilder
sourcepub fn policy_store_id(self, input: impl Into<String>) -> Self
pub fn policy_store_id(self, input: impl Into<String>) -> Self
The unique identifier of the policy store that contains the template.
sourcepub fn set_policy_store_id(self, input: Option<String>) -> Self
pub fn set_policy_store_id(self, input: Option<String>) -> Self
The unique identifier of the policy store that contains the template.
sourcepub fn get_policy_store_id(&self) -> &Option<String>
pub fn get_policy_store_id(&self) -> &Option<String>
The unique identifier of the policy store that contains the template.
sourcepub fn policy_template_id(self, input: impl Into<String>) -> Self
pub fn policy_template_id(self, input: impl Into<String>) -> Self
The unique identifier of the policy template.
sourcepub fn set_policy_template_id(self, input: Option<String>) -> Self
pub fn set_policy_template_id(self, input: Option<String>) -> Self
The unique identifier of the policy template.
sourcepub fn get_policy_template_id(&self) -> &Option<String>
pub fn get_policy_template_id(&self) -> &Option<String>
The unique identifier of the policy template.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description attached to the policy template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description attached to the policy template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description attached to the policy template.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The date and time that the policy template was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The date and time that the policy template was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The date and time that the policy template was created.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The date and time that the policy template was most recently updated.
sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The date and time that the policy template was most recently updated.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
The date and time that the policy template was most recently updated.
sourcepub fn build(self) -> PolicyTemplateItem
pub fn build(self) -> PolicyTemplateItem
Consumes the builder and constructs a PolicyTemplateItem.
Trait Implementations§
source§impl Clone for PolicyTemplateItemBuilder
impl Clone for PolicyTemplateItemBuilder
source§fn clone(&self) -> PolicyTemplateItemBuilder
fn clone(&self) -> PolicyTemplateItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PolicyTemplateItemBuilder
impl Debug for PolicyTemplateItemBuilder
source§impl Default for PolicyTemplateItemBuilder
impl Default for PolicyTemplateItemBuilder
source§fn default() -> PolicyTemplateItemBuilder
fn default() -> PolicyTemplateItemBuilder
source§impl PartialEq<PolicyTemplateItemBuilder> for PolicyTemplateItemBuilder
impl PartialEq<PolicyTemplateItemBuilder> for PolicyTemplateItemBuilder
source§fn eq(&self, other: &PolicyTemplateItemBuilder) -> bool
fn eq(&self, other: &PolicyTemplateItemBuilder) -> bool
self and other values to be equal, and is used
by ==.