Class MergePullRequestByFastForwardRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codecommit.model.CodeCommitRequest
-
- software.amazon.awssdk.services.codecommit.model.MergePullRequestByFastForwardRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<MergePullRequestByFastForwardRequest.Builder,MergePullRequestByFastForwardRequest>
@Generated("software.amazon.awssdk:codegen") public final class MergePullRequestByFastForwardRequest extends CodeCommitRequest implements ToCopyableBuilder<MergePullRequestByFastForwardRequest.Builder,MergePullRequestByFastForwardRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMergePullRequestByFastForwardRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MergePullRequestByFastForwardRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpullRequestId()The system-generated ID of the pull request.StringrepositoryName()The name of the repository where the pull request was created.List<SdkField<?>>sdkFields()static Class<? extends MergePullRequestByFastForwardRequest.Builder>serializableBuilderClass()StringsourceCommitId()The full commit ID of the original or updated commit in the pull request source branch.MergePullRequestByFastForwardRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
pullRequestId
public final String pullRequestId()
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Returns:
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.
-
repositoryName
public final String repositoryName()
The name of the repository where the pull request was created.
- Returns:
- The name of the repository where the pull request was created.
-
sourceCommitId
public final String sourceCommitId()
The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
- Returns:
- The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.
-
toBuilder
public MergePullRequestByFastForwardRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MergePullRequestByFastForwardRequest.Builder,MergePullRequestByFastForwardRequest>- Specified by:
toBuilderin classCodeCommitRequest
-
builder
public static MergePullRequestByFastForwardRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends MergePullRequestByFastForwardRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-