Class PostCommentForComparedCommitResponse
- 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.PostCommentForComparedCommitResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>
@Generated("software.amazon.awssdk:codegen") public final class PostCommentForComparedCommitResponse extends CodeCommitResponse implements ToCopyableBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePostCommentForComparedCommitResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringafterBlobId()In the directionality you established, the blob ID of the after blob.StringafterCommitId()In the directionality you established, the full commit ID of the after commit.StringbeforeBlobId()In the directionality you established, the blob ID of the before blob.StringbeforeCommitId()In the directionality you established, the full commit ID of the before commit.static PostCommentForComparedCommitResponse.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 comment in the comparison between the two commits.StringrepositoryName()The name of the repository where you posted a comment on the comparison between commits.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PostCommentForComparedCommitResponse.Builder>serializableBuilderClass()PostCommentForComparedCommitResponse.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 the comparison between commits.
- Returns:
- The name of the repository where you posted a comment on the comparison between commits.
-
beforeCommitId
public final String beforeCommitId()
In the directionality you established, the full commit ID of the before commit.
- Returns:
- In the directionality you established, the full commit ID of the before commit.
-
afterCommitId
public final String afterCommitId()
In the directionality you established, the full commit ID of the after commit.
- Returns:
- In the directionality you established, the full commit ID of the after commit.
-
beforeBlobId
public final String beforeBlobId()
In the directionality you established, the blob ID of the before blob.
- Returns:
- In the directionality you established, the blob ID of the before blob.
-
afterBlobId
public final String afterBlobId()
In the directionality you established, the blob ID of the after blob.
- Returns:
- In the directionality you established, the blob ID of the after blob.
-
location
public final Location location()
The location of the comment in the comparison between the two commits.
- Returns:
- The location of the comment in the comparison between the two commits.
-
comment
public final Comment comment()
The content of the comment you posted.
- Returns:
- The content of the comment you posted.
-
toBuilder
public PostCommentForComparedCommitResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PostCommentForComparedCommitResponse.Builder,PostCommentForComparedCommitResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PostCommentForComparedCommitResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PostCommentForComparedCommitResponse.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
-
-