Struct aws_sdk_codecommit::operation::delete_pull_request_approval_rule::builders::DeletePullRequestApprovalRuleInputBuilder
source · #[non_exhaustive]pub struct DeletePullRequestApprovalRuleInputBuilder { /* private fields */ }Expand description
A builder for DeletePullRequestApprovalRuleInput.
Implementations§
source§impl DeletePullRequestApprovalRuleInputBuilder
impl DeletePullRequestApprovalRuleInputBuilder
sourcepub fn pull_request_id(self, input: impl Into<String>) -> Self
pub fn pull_request_id(self, input: impl Into<String>) -> Self
The system-generated ID of the pull request that contains the approval rule you want to delete.
This field is required.sourcepub fn set_pull_request_id(self, input: Option<String>) -> Self
pub fn set_pull_request_id(self, input: Option<String>) -> Self
The system-generated ID of the pull request that contains the approval rule you want to delete.
sourcepub fn get_pull_request_id(&self) -> &Option<String>
pub fn get_pull_request_id(&self) -> &Option<String>
The system-generated ID of the pull request that contains the approval rule you want to delete.
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 you want to delete.
This field is required.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 you want to delete.
sourcepub fn get_approval_rule_name(&self) -> &Option<String>
pub fn get_approval_rule_name(&self) -> &Option<String>
The name of the approval rule you want to delete.
sourcepub fn build(self) -> Result<DeletePullRequestApprovalRuleInput, BuildError>
pub fn build(self) -> Result<DeletePullRequestApprovalRuleInput, BuildError>
Consumes the builder and constructs a DeletePullRequestApprovalRuleInput.
source§impl DeletePullRequestApprovalRuleInputBuilder
impl DeletePullRequestApprovalRuleInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeletePullRequestApprovalRuleOutput, SdkError<DeletePullRequestApprovalRuleError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeletePullRequestApprovalRuleOutput, SdkError<DeletePullRequestApprovalRuleError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeletePullRequestApprovalRuleInputBuilder
impl Clone for DeletePullRequestApprovalRuleInputBuilder
source§fn clone(&self) -> DeletePullRequestApprovalRuleInputBuilder
fn clone(&self) -> DeletePullRequestApprovalRuleInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeletePullRequestApprovalRuleInputBuilder
impl Default for DeletePullRequestApprovalRuleInputBuilder
source§fn default() -> DeletePullRequestApprovalRuleInputBuilder
fn default() -> DeletePullRequestApprovalRuleInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeletePullRequestApprovalRuleInputBuilder
impl PartialEq for DeletePullRequestApprovalRuleInputBuilder
source§fn eq(&self, other: &DeletePullRequestApprovalRuleInputBuilder) -> bool
fn eq(&self, other: &DeletePullRequestApprovalRuleInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeletePullRequestApprovalRuleInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeletePullRequestApprovalRuleInputBuilder
impl Send for DeletePullRequestApprovalRuleInputBuilder
impl Sync for DeletePullRequestApprovalRuleInputBuilder
impl Unpin for DeletePullRequestApprovalRuleInputBuilder
impl UnwindSafe for DeletePullRequestApprovalRuleInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.