@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Metadata that is associated with a code review. This applies to both pull request and repository analysis code reviews.
| Constructor and Description |
|---|
RequestMetadata() |
| Modifier and Type | Method and Description |
|---|---|
RequestMetadata |
clone() |
boolean |
equals(Object obj) |
EventInfo |
getEventInfo()
Information about the event associated with a code review.
|
String |
getRequester()
An identifier, such as a name or account ID, that is associated with the requester.
|
String |
getRequestId()
The ID of the request.
|
String |
getVendorName()
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
|
void |
setRequester(String requester)
An identifier, such as a name or account ID, that is associated with the requester.
|
void |
setRequestId(String requestId)
The ID of the request.
|
void |
setVendorName(String vendorName)
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
String |
toString()
Returns a string representation of this object.
|
RequestMetadata |
withEventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
|
RequestMetadata |
withRequester(String requester)
An identifier, such as a name or account ID, that is associated with the requester.
|
RequestMetadata |
withRequestId(String requestId)
The ID of the request.
|
RequestMetadata |
withVendorName(String vendorName)
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
RequestMetadata |
withVendorName(VendorName vendorName)
The name of the repository vendor used to upload code to an S3 bucket for a CI/CD code review.
|
public void setRequestId(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.public String getRequestId()
The ID of the request. This is required for a pull request code review.
public RequestMetadata withRequestId(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.public void setRequester(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.public String getRequester()
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 is used to capture the author/actor name of the event request.public RequestMetadata withRequester(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.public void setEventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
eventInfo - Information about the event associated with a code review.public EventInfo getEventInfo()
Information about the event associated with a code review.
public RequestMetadata withEventInfo(EventInfo eventInfo)
Information about the event associated with a code review.
eventInfo - Information about the event associated with a code review.public void setVendorName(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.VendorNamepublic String getVendorName()
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
.
ProviderType is
S3Bucket and the CI/CD repository vendor name is GitHub. For more information, see the
definition for ProviderType in RepositoryAssociation.VendorNamepublic RequestMetadata withVendorName(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.VendorNamepublic RequestMetadata withVendorName(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.VendorNamepublic String toString()
toString in class ObjectObject.toString()public RequestMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.