Class Folder
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.Folder
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Folder.Builder,Folder>
@Generated("software.amazon.awssdk:codegen") public final class Folder extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Folder.Builder,Folder>
Returns information about a folder in a repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFolder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabsolutePath()The fully qualified path of the folder in the repository.static Folder.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrelativePath()The relative path of the specified folder from the folder where the query originated.List<SdkField<?>>sdkFields()static Class<? extends Folder.Builder>serializableBuilderClass()Folder.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 folder.-
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
-
treeId
public final String treeId()
The full SHA-1 pointer of the tree information for the commit that contains the folder.
- Returns:
- The full SHA-1 pointer of the tree information for the commit that contains the folder.
-
absolutePath
public final String absolutePath()
The fully qualified path of the folder in the repository.
- Returns:
- The fully qualified path of the folder in the repository.
-
relativePath
public final String relativePath()
The relative path of the specified folder from the folder where the query originated.
- Returns:
- The relative path of the specified folder from the folder where the query originated.
-
toBuilder
public Folder.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Folder.Builder,Folder>
-
builder
public static Folder.Builder builder()
-
serializableBuilderClass
public static Class<? extends Folder.Builder> serializableBuilderClass()
-
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.
-
-