Struct aws_sdk_codecommit::types::builders::ApprovalRuleBuilder
source · #[non_exhaustive]pub struct ApprovalRuleBuilder { /* private fields */ }
Expand description
A builder for ApprovalRule
.
Implementations§
source§impl ApprovalRuleBuilder
impl ApprovalRuleBuilder
sourcepub fn approval_rule_id(self, input: impl Into<String>) -> Self
pub fn approval_rule_id(self, input: impl Into<String>) -> Self
The system-generated ID of the approval rule.
sourcepub fn set_approval_rule_id(self, input: Option<String>) -> Self
pub fn set_approval_rule_id(self, input: Option<String>) -> Self
The system-generated ID of the approval rule.
sourcepub fn get_approval_rule_id(&self) -> &Option<String>
pub fn get_approval_rule_id(&self) -> &Option<String>
The system-generated ID of the approval rule.
sourcepub fn approval_rule_name(self, input: impl Into<String>) -> Self
pub fn approval_rule_name(self, input: impl Into<String>) -> Self
The name of the approval rule.
sourcepub fn set_approval_rule_name(self, input: Option<String>) -> Self
pub fn set_approval_rule_name(self, input: Option<String>) -> Self
The name of the approval rule.
sourcepub fn get_approval_rule_name(&self) -> &Option<String>
pub fn get_approval_rule_name(&self) -> &Option<String>
The name of the approval rule.
sourcepub fn approval_rule_content(self, input: impl Into<String>) -> Self
pub fn approval_rule_content(self, input: impl Into<String>) -> Self
The content of the approval rule.
sourcepub fn set_approval_rule_content(self, input: Option<String>) -> Self
pub fn set_approval_rule_content(self, input: Option<String>) -> Self
The content of the approval rule.
sourcepub fn get_approval_rule_content(&self) -> &Option<String>
pub fn get_approval_rule_content(&self) -> &Option<String>
The content of the approval rule.
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.
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.
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.
sourcepub fn last_modified_date(self, input: DateTime) -> Self
pub fn last_modified_date(self, input: DateTime) -> Self
The date the approval rule 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 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 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 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 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 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.
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.
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.
sourcepub fn origin_approval_rule_template(
self,
input: OriginApprovalRuleTemplate
) -> Self
pub fn origin_approval_rule_template( self, input: OriginApprovalRuleTemplate ) -> Self
The approval rule template used to create the rule.
sourcepub fn set_origin_approval_rule_template(
self,
input: Option<OriginApprovalRuleTemplate>
) -> Self
pub fn set_origin_approval_rule_template( self, input: Option<OriginApprovalRuleTemplate> ) -> Self
The approval rule template used to create the rule.
sourcepub fn get_origin_approval_rule_template(
&self
) -> &Option<OriginApprovalRuleTemplate>
pub fn get_origin_approval_rule_template( &self ) -> &Option<OriginApprovalRuleTemplate>
The approval rule template used to create the rule.
sourcepub fn build(self) -> ApprovalRule
pub fn build(self) -> ApprovalRule
Consumes the builder and constructs a ApprovalRule
.
Trait Implementations§
source§impl Clone for ApprovalRuleBuilder
impl Clone for ApprovalRuleBuilder
source§fn clone(&self) -> ApprovalRuleBuilder
fn clone(&self) -> ApprovalRuleBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApprovalRuleBuilder
impl Debug for ApprovalRuleBuilder
source§impl Default for ApprovalRuleBuilder
impl Default for ApprovalRuleBuilder
source§fn default() -> ApprovalRuleBuilder
fn default() -> ApprovalRuleBuilder
source§impl PartialEq for ApprovalRuleBuilder
impl PartialEq for ApprovalRuleBuilder
source§fn eq(&self, other: &ApprovalRuleBuilder) -> bool
fn eq(&self, other: &ApprovalRuleBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.