pub struct GetCommitFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetCommit
.
Returns information about a commit, including commit message and committer information.
Implementations§
source§impl GetCommitFluentBuilder
impl GetCommitFluentBuilder
sourcepub fn as_input(&self) -> &GetCommitInputBuilder
pub fn as_input(&self) -> &GetCommitInputBuilder
Access the GetCommit as a reference.
sourcepub async fn send(
self
) -> Result<GetCommitOutput, SdkError<GetCommitError, HttpResponse>>
pub async fn send( self ) -> Result<GetCommitOutput, SdkError<GetCommitError, 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<GetCommitOutput, GetCommitError, Self>
pub fn customize( self ) -> CustomizableOperation<GetCommitOutput, GetCommitError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn repository_name(self, input: impl Into<String>) -> Self
pub fn repository_name(self, input: impl Into<String>) -> Self
The name of the repository to which the commit was made.
sourcepub fn set_repository_name(self, input: Option<String>) -> Self
pub fn set_repository_name(self, input: Option<String>) -> Self
The name of the repository to which the commit was made.
sourcepub fn get_repository_name(&self) -> &Option<String>
pub fn get_repository_name(&self) -> &Option<String>
The name of the repository to which the commit was made.
sourcepub fn commit_id(self, input: impl Into<String>) -> Self
pub fn commit_id(self, input: impl Into<String>) -> Self
The commit ID. Commit IDs are the full SHA ID of the commit.
sourcepub fn set_commit_id(self, input: Option<String>) -> Self
pub fn set_commit_id(self, input: Option<String>) -> Self
The commit ID. Commit IDs are the full SHA ID of the commit.
sourcepub fn get_commit_id(&self) -> &Option<String>
pub fn get_commit_id(&self) -> &Option<String>
The commit ID. Commit IDs are the full SHA ID of the commit.
Trait Implementations§
source§impl Clone for GetCommitFluentBuilder
impl Clone for GetCommitFluentBuilder
source§fn clone(&self) -> GetCommitFluentBuilder
fn clone(&self) -> GetCommitFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more