Class ListFileCommitHistoryRequest
- 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.ListFileCommitHistoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListFileCommitHistoryRequest.Builder,ListFileCommitHistoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListFileCommitHistoryRequest extends CodeCommitRequest implements ToCopyableBuilder<ListFileCommitHistoryRequest.Builder,ListFileCommitHistoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListFileCommitHistoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListFileCommitHistoryRequest.Builderbuilder()StringcommitSpecifier()The fully quaified reference that identifies the commit that contains the file.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePath()The full path of the file whose history you want to retrieve, including the name of the file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()A non-zero, non-negative integer used to limit the number of returned results.StringnextToken()An enumeration token that allows the operation to batch the results.StringrepositoryName()The name of the repository that contains the file.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ListFileCommitHistoryRequest.Builder>serializableBuilderClass()ListFileCommitHistoryRequest.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
-
repositoryName
public final String repositoryName()
The name of the repository that contains the file.
- Returns:
- The name of the repository that contains the file.
-
commitSpecifier
public final String commitSpecifier()
The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as
refs/heads/main. If none is provided, the head commit is used.- Returns:
- The fully quaified reference that identifies the commit that contains the file. For example, you can
specify a full commit ID, a tag, a branch name, or a reference such as
refs/heads/main. If none is provided, the head commit is used.
-
filePath
public final String filePath()
The full path of the file whose history you want to retrieve, including the name of the file.
- Returns:
- The full path of the file whose history you want to retrieve, including the name of the file.
-
maxResults
public final Integer maxResults()
A non-zero, non-negative integer used to limit the number of returned results.
- Returns:
- A non-zero, non-negative integer used to limit the number of returned results.
-
nextToken
public final String nextToken()
An enumeration token that allows the operation to batch the results.
- Returns:
- An enumeration token that allows the operation to batch the results.
-
toBuilder
public ListFileCommitHistoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListFileCommitHistoryRequest.Builder,ListFileCommitHistoryRequest>- Specified by:
toBuilderin classCodeCommitRequest
-
builder
public static ListFileCommitHistoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListFileCommitHistoryRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-