#[non_exhaustive]pub struct ApprovalRuleTemplateBuilder { /* private fields */ }Expand description
A builder for ApprovalRuleTemplate.
Implementations§
source§impl ApprovalRuleTemplateBuilder
impl ApprovalRuleTemplateBuilder
sourcepub fn approval_rule_template_id(self, input: impl Into<String>) -> Self
pub fn approval_rule_template_id(self, input: impl Into<String>) -> Self
The system-generated ID of the approval rule template.
sourcepub fn set_approval_rule_template_id(self, input: Option<String>) -> Self
pub fn set_approval_rule_template_id(self, input: Option<String>) -> Self
The system-generated ID of the approval rule template.
sourcepub fn get_approval_rule_template_id(&self) -> &Option<String>
pub fn get_approval_rule_template_id(&self) -> &Option<String>
The system-generated ID of the approval rule template.
sourcepub fn approval_rule_template_name(self, input: impl Into<String>) -> Self
pub fn approval_rule_template_name(self, input: impl Into<String>) -> Self
The name of the approval rule template.
sourcepub fn set_approval_rule_template_name(self, input: Option<String>) -> Self
pub fn set_approval_rule_template_name(self, input: Option<String>) -> Self
The name of the approval rule template.
sourcepub fn get_approval_rule_template_name(&self) -> &Option<String>
pub fn get_approval_rule_template_name(&self) -> &Option<String>
The name of the approval rule template.
sourcepub fn approval_rule_template_description(
self,
input: impl Into<String>
) -> Self
pub fn approval_rule_template_description( self, input: impl Into<String> ) -> Self
The description of the approval rule template.
sourcepub fn set_approval_rule_template_description(
self,
input: Option<String>
) -> Self
pub fn set_approval_rule_template_description( self, input: Option<String> ) -> Self
The description of the approval rule template.
sourcepub fn get_approval_rule_template_description(&self) -> &Option<String>
pub fn get_approval_rule_template_description(&self) -> &Option<String>
The description of the approval rule template.
sourcepub fn approval_rule_template_content(self, input: impl Into<String>) -> Self
pub fn approval_rule_template_content(self, input: impl Into<String>) -> Self
The content of the approval rule template.
sourcepub fn set_approval_rule_template_content(self, input: Option<String>) -> Self
pub fn set_approval_rule_template_content(self, input: Option<String>) -> Self
The content of the approval rule template.
sourcepub fn get_approval_rule_template_content(&self) -> &Option<String>
pub fn get_approval_rule_template_content(&self) -> &Option<String>
The content of the approval rule template.
sourcepub fn rule_content_sha256(self, input: impl Into<String>) -> Self
pub fn rule_content_sha256(self, input: impl Into<String>) -> Self
The SHA-256 hash signature for the content of the approval rule template.
sourcepub fn set_rule_content_sha256(self, input: Option<String>) -> Self
pub fn set_rule_content_sha256(self, input: Option<String>) -> Self
The SHA-256 hash signature for the content of the approval rule template.
sourcepub fn get_rule_content_sha256(&self) -> &Option<String>
pub fn get_rule_content_sha256(&self) -> &Option<String>
The SHA-256 hash signature for the content of the approval rule template.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date the approval rule template was most recently changed, in timestamp format.
sourcepub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_date(self, input: Option<DateTime>) -> Self
The date the approval rule template was most recently changed, in timestamp format.
sourcepub fn get_last_modified_date(&self) -> &Option<DateTime>
pub fn get_last_modified_date(&self) -> &Option<DateTime>
The date the approval rule template was most recently changed, in timestamp format.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The date the approval rule template was created, in timestamp format.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The date the approval rule template was created, in timestamp format.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
The date the approval rule template was created, in timestamp format.
sourcepub fn last_modified_user(self, input: impl Into<String>) -> Self
pub fn last_modified_user(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
sourcepub fn set_last_modified_user(self, input: Option<String>) -> Self
pub fn set_last_modified_user(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
sourcepub fn get_last_modified_user(&self) -> &Option<String>
pub fn get_last_modified_user(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.
sourcepub fn build(self) -> ApprovalRuleTemplate
pub fn build(self) -> ApprovalRuleTemplate
Consumes the builder and constructs a ApprovalRuleTemplate.
Trait Implementations§
source§impl Clone for ApprovalRuleTemplateBuilder
impl Clone for ApprovalRuleTemplateBuilder
source§fn clone(&self) -> ApprovalRuleTemplateBuilder
fn clone(&self) -> ApprovalRuleTemplateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ApprovalRuleTemplateBuilder
impl Debug for ApprovalRuleTemplateBuilder
source§impl Default for ApprovalRuleTemplateBuilder
impl Default for ApprovalRuleTemplateBuilder
source§fn default() -> ApprovalRuleTemplateBuilder
fn default() -> ApprovalRuleTemplateBuilder
source§impl PartialEq for ApprovalRuleTemplateBuilder
impl PartialEq for ApprovalRuleTemplateBuilder
source§fn eq(&self, other: &ApprovalRuleTemplateBuilder) -> bool
fn eq(&self, other: &ApprovalRuleTemplateBuilder) -> bool
self and other values to be equal, and is used
by ==.