Struct aws_sdk_codegurureviewer::model::request_metadata::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RequestMetadata.
Implementations§
source§impl Builder
impl Builder
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
The ID of the request. This is required for a pull request code review.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
The ID of the request. This is required for a pull request code review.
sourcepub fn requester(self, input: impl Into<String>) -> Self
pub fn requester(self, input: impl Into<String>) -> Self
An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.
sourcepub fn set_requester(self, input: Option<String>) -> Self
pub fn set_requester(self, input: Option<String>) -> Self
An identifier, such as a name or account ID, that is associated with the requester. The Requester is used to capture the author/actor name of the event request.
sourcepub fn event_info(self, input: EventInfo) -> Self
pub fn event_info(self, input: EventInfo) -> Self
Information about the event associated with a code review.
sourcepub fn set_event_info(self, input: Option<EventInfo>) -> Self
pub fn set_event_info(self, input: Option<EventInfo>) -> Self
Information about the event associated with a code review.
sourcepub fn vendor_name(self, input: VendorName) -> Self
pub fn vendor_name(self, input: VendorName) -> Self
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
sourcepub fn set_vendor_name(self, input: Option<VendorName>) -> Self
pub fn set_vendor_name(self, input: Option<VendorName>) -> Self
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review. For example, if code and artifacts are uploaded to an S3 bucket for a CI/CD code review by GitHub scripts from a GitHub repository, then the repository association's ProviderType is S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the definition for ProviderType in RepositoryAssociation.
sourcepub fn build(self) -> RequestMetadata
pub fn build(self) -> RequestMetadata
Consumes the builder and constructs a RequestMetadata.