Struct aws_sdk_codecommit::operation::get_pull_request_override_state::builders::GetPullRequestOverrideStateInputBuilder
source · #[non_exhaustive]pub struct GetPullRequestOverrideStateInputBuilder { /* private fields */ }Expand description
A builder for GetPullRequestOverrideStateInput.
Implementations§
source§impl GetPullRequestOverrideStateInputBuilder
impl GetPullRequestOverrideStateInputBuilder
sourcepub fn pull_request_id(self, input: impl Into<String>) -> Self
pub fn pull_request_id(self, input: impl Into<String>) -> Self
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
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 ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
sourcepub fn get_pull_request_id(&self) -> &Option<String>
pub fn get_pull_request_id(&self) -> &Option<String>
The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
The system-generated ID of the revision for the pull request. To retrieve the most recent revision ID, use GetPullRequest.
sourcepub fn build(self) -> Result<GetPullRequestOverrideStateInput, BuildError>
pub fn build(self) -> Result<GetPullRequestOverrideStateInput, BuildError>
Consumes the builder and constructs a GetPullRequestOverrideStateInput.
source§impl GetPullRequestOverrideStateInputBuilder
impl GetPullRequestOverrideStateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetPullRequestOverrideStateInputBuilder
impl Clone for GetPullRequestOverrideStateInputBuilder
source§fn clone(&self) -> GetPullRequestOverrideStateInputBuilder
fn clone(&self) -> GetPullRequestOverrideStateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetPullRequestOverrideStateInputBuilder
impl Default for GetPullRequestOverrideStateInputBuilder
source§fn default() -> GetPullRequestOverrideStateInputBuilder
fn default() -> GetPullRequestOverrideStateInputBuilder
source§impl PartialEq for GetPullRequestOverrideStateInputBuilder
impl PartialEq for GetPullRequestOverrideStateInputBuilder
source§fn eq(&self, other: &GetPullRequestOverrideStateInputBuilder) -> bool
fn eq(&self, other: &GetPullRequestOverrideStateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetPullRequestOverrideStateInputBuilder
Auto Trait Implementations§
impl Freeze for GetPullRequestOverrideStateInputBuilder
impl RefUnwindSafe for GetPullRequestOverrideStateInputBuilder
impl Send for GetPullRequestOverrideStateInputBuilder
impl Sync for GetPullRequestOverrideStateInputBuilder
impl Unpin for GetPullRequestOverrideStateInputBuilder
impl UnwindSafe for GetPullRequestOverrideStateInputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more