Class SubModule
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.SubModule
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SubModule.Builder,SubModule>
@Generated("software.amazon.awssdk:codegen") public final class SubModule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubModule.Builder,SubModule>
Returns information about a submodule reference in a repository folder.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSubModule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringabsolutePath()The fully qualified path to the folder that contains the reference to the submodule.static SubModule.Builderbuilder()StringcommitId()The commit ID that contains the reference to the submodule.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrelativePath()The relative path of the submodule from the folder where the query originated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SubModule.Builder>serializableBuilderClass()SubModule.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 commit ID that contains the reference to the submodule.
- Returns:
- The commit ID that contains the reference to the submodule.
-
absolutePath
public final String absolutePath()
The fully qualified path to the folder that contains the reference to the submodule.
- Returns:
- The fully qualified path to the folder that contains the reference to the submodule.
-
relativePath
public final String relativePath()
The relative path of the submodule from the folder where the query originated.
- Returns:
- The relative path of the submodule from the folder where the query originated.
-
toBuilder
public SubModule.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SubModule.Builder,SubModule>
-
builder
public static SubModule.Builder builder()
-
serializableBuilderClass
public static Class<? extends SubModule.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-