public static interface RequestMetadata.Builder extends SdkPojo, CopyableBuilder<RequestMetadata.Builder,RequestMetadata>
| Modifier and Type | Method and Description |
|---|---|
default RequestMetadata.Builder |
eventInfo(Consumer<EventInfo.Builder> eventInfo)
Information about the event associated with a code review.
|
RequestMetadata.Builder |
eventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
|
RequestMetadata.Builder |
requester(String requester)
An identifier, such as a name or account ID, that is associated with the requester.
|
RequestMetadata.Builder |
requestId(String requestId)
The ID of the request.
|
RequestMetadata.Builder |
vendorName(String vendorName)
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
RequestMetadata.Builder |
vendorName(VendorName vendorName)
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRequestMetadata.Builder requestId(String requestId)
The ID of the request. This is required for a pull request code review.
requestId - The ID of the request. This is required for a pull request code review.RequestMetadata.Builder requester(String requester)
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.
requester - 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.RequestMetadata.Builder eventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
eventInfo - Information about the event associated with a code review.default RequestMetadata.Builder eventInfo(Consumer<EventInfo.Builder> eventInfo)
Information about the event associated with a code review.
This is a convenience method that creates an instance of theEventInfo.Builder avoiding the need to
create one manually via EventInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to eventInfo(EventInfo).
eventInfo - a consumer that will call methods on EventInfo.BuildereventInfo(EventInfo)RequestMetadata.Builder vendorName(String vendorName)
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.
vendorName - 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.VendorName,
VendorNameRequestMetadata.Builder vendorName(VendorName vendorName)
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.
vendorName - 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.VendorName,
VendorNameCopyright © 2023. All rights reserved.