Class PostCommentForPullRequestResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.codecommit.model.CodeCommitResponse
-
- software.amazon.awssdk.services.codecommit.model.PostCommentForPullRequestResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>
@Generated("software.amazon.awssdk:codegen") public final class PostCommentForPullRequestResponse extends CodeCommitResponse implements ToCopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePostCommentForPullRequestResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringafterBlobId()In the directionality of the pull request, the blob ID of the after blob.StringafterCommitId()The full commit ID of the commit in the destination branch where the pull request is merged.StringbeforeBlobId()In the directionality of the pull request, the blob ID of the before blob.StringbeforeCommitId()The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.static PostCommentForPullRequestResponse.Builderbuilder()Commentcomment()The content of the comment you posted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Locationlocation()The location of the change where you posted your comment.StringpullRequestId()The system-generated ID of the pull request.StringrepositoryName()The name of the repository where you posted a comment on a pull request.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PostCommentForPullRequestResponse.Builder>serializableBuilderClass()PostCommentForPullRequestResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.codecommit.model.CodeCommitResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryName
public final String repositoryName()
The name of the repository where you posted a comment on a pull request.
- Returns:
- The name of the repository where you posted a comment on a pull request.
-
pullRequestId
public final String pullRequestId()
The system-generated ID of the pull request.
- Returns:
- The system-generated ID of the pull request.
-
beforeCommitId
public final String beforeCommitId()
The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
- Returns:
- The full commit ID of the commit in the source branch used to create the pull request, or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.
-
afterCommitId
public final String afterCommitId()
The full commit ID of the commit in the destination branch where the pull request is merged.
- Returns:
- The full commit ID of the commit in the destination branch where the pull request is merged.
-
beforeBlobId
public final String beforeBlobId()
In the directionality of the pull request, the blob ID of the before blob.
- Returns:
- In the directionality of the pull request, the blob ID of the before blob.
-
afterBlobId
public final String afterBlobId()
In the directionality of the pull request, the blob ID of the after blob.
- Returns:
- In the directionality of the pull request, the blob ID of the after blob.
-
location
public final Location location()
The location of the change where you posted your comment.
- Returns:
- The location of the change where you posted your comment.
-
comment
public final Comment comment()
The content of the comment you posted.
- Returns:
- The content of the comment you posted.
-
toBuilder
public PostCommentForPullRequestResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PostCommentForPullRequestResponse.Builder,PostCommentForPullRequestResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PostCommentForPullRequestResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PostCommentForPullRequestResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-