Interface RequestMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RequestMetadata.Builder,,RequestMetadata> SdkBuilder<RequestMetadata.Builder,,RequestMetadata> SdkPojo
- Enclosing class:
RequestMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault RequestMetadata.BuildereventInfo(Consumer<EventInfo.Builder> eventInfo) Information about the event associated with a code review.Information about the event associated with a code review.An identifier, such as a name or account ID, that is associated with the requester.The ID of the request.vendorName(String vendorName) The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.vendorName(VendorName vendorName) The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
requestId
The ID of the request. This is required for a pull request code review.
- Parameters:
requestId- The ID of the request. This is required for a pull request code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requester
An identifier, such as a name or account ID, that is associated with the requester. The
Requesteris used to capture theauthor/actorname of the event request.- Parameters:
requester- An identifier, such as a name or account ID, that is associated with the requester. TheRequesteris used to capture theauthor/actorname of the event request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventInfo
Information about the event associated with a code review.
- Parameters:
eventInfo- Information about the event associated with a code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventInfo
Information about the event associated with a code review.
This is a convenience method that creates an instance of theEventInfo.Builderavoiding the need to create one manually viaEventInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeventInfo(EventInfo).- Parameters:
eventInfo- a consumer that will call methods onEventInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
ProviderTypeisS3Bucketand the CI/CD repository vendor name is GitHub. For more information, see the definition forProviderTypein RepositoryAssociation.- Parameters:
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'sProviderTypeisS3Bucketand the CI/CD repository vendor name is GitHub. For more information, see the definition forProviderTypein RepositoryAssociation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
ProviderTypeisS3Bucketand the CI/CD repository vendor name is GitHub. For more information, see the definition forProviderTypein RepositoryAssociation.- Parameters:
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'sProviderTypeisS3Bucketand the CI/CD repository vendor name is GitHub. For more information, see the definition forProviderTypein RepositoryAssociation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-