Struct aws_sdk_codecommit::operation::get_pull_request_override_state::builders::GetPullRequestOverrideStateFluentBuilder
source · pub struct GetPullRequestOverrideStateFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetPullRequestOverrideState
.
Returns information about whether approval rules have been set aside (overridden) for a pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.
Implementations§
source§impl GetPullRequestOverrideStateFluentBuilder
impl GetPullRequestOverrideStateFluentBuilder
sourcepub fn as_input(&self) -> &GetPullRequestOverrideStateInputBuilder
pub fn as_input(&self) -> &GetPullRequestOverrideStateInputBuilder
Access the GetPullRequestOverrideState as a reference.
sourcepub async fn send(
self
) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
pub async fn send( self ) -> Result<GetPullRequestOverrideStateOutput, SdkError<GetPullRequestOverrideStateError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetPullRequestOverrideStateOutput, GetPullRequestOverrideStateError, Self>
pub fn customize( self ) -> CustomizableOperation<GetPullRequestOverrideStateOutput, GetPullRequestOverrideStateError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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).
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
.
Trait Implementations§
source§impl Clone for GetPullRequestOverrideStateFluentBuilder
impl Clone for GetPullRequestOverrideStateFluentBuilder
source§fn clone(&self) -> GetPullRequestOverrideStateFluentBuilder
fn clone(&self) -> GetPullRequestOverrideStateFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more