Class DeleteFileResponse
- 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.DeleteFileResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteFileResponse.Builder,DeleteFileResponse>
@Generated("software.amazon.awssdk:codegen") public final class DeleteFileResponse extends CodeCommitResponse implements ToCopyableBuilder<DeleteFileResponse.Builder,DeleteFileResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteFileResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringblobId()The blob ID removed from the tree as part of deleting the file.static DeleteFileResponse.Builderbuilder()StringcommitId()The full commit ID of the commit that contains the change that deletes the file.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilePath()The fully qualified path to the file to be deleted, including the full name and extension of that file.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeleteFileResponse.Builder>serializableBuilderClass()DeleteFileResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtreeId()The full SHA-1 pointer of the tree information for the commit that contains the delete file change.-
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
-
commitId
public final String commitId()
The full commit ID of the commit that contains the change that deletes the file.
- Returns:
- The full commit ID of the commit that contains the change that deletes the file.
-
blobId
public final String blobId()
The blob ID removed from the tree as part of deleting the file.
- Returns:
- The blob ID removed from the tree as part of deleting the file.
-
treeId
public final String treeId()
The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
- Returns:
- The full SHA-1 pointer of the tree information for the commit that contains the delete file change.
-
filePath
public final String filePath()
The fully qualified path to the file to be deleted, including the full name and extension of that file.
- Returns:
- The fully qualified path to the file to be deleted, including the full name and extension of that file.
-
toBuilder
public DeleteFileResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteFileResponse.Builder,DeleteFileResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DeleteFileResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteFileResponse.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
-
-