Class SymbolicLink
- java.lang.Object
-
- software.amazon.awssdk.services.codecommit.model.SymbolicLink
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SymbolicLink.Builder,SymbolicLink>
@Generated("software.amazon.awssdk:codegen") public final class SymbolicLink extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SymbolicLink.Builder,SymbolicLink>
Returns information about a symbolic link in a repository folder.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSymbolicLink.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 symbolic link.StringblobId()The blob ID that contains the information about the symbolic link.static SymbolicLink.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FileModeTypeEnumfileMode()The file mode permissions of the blob that cotains information about the symbolic link.StringfileModeAsString()The file mode permissions of the blob that cotains information about the symbolic link.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrelativePath()The relative path of the symbolic link from the folder where the query originated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SymbolicLink.Builder>serializableBuilderClass()SymbolicLink.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
-
blobId
public final String blobId()
The blob ID that contains the information about the symbolic link.
- Returns:
- The blob ID that contains the information about the symbolic link.
-
absolutePath
public final String absolutePath()
The fully qualified path to the folder that contains the symbolic link.
- Returns:
- The fully qualified path to the folder that contains the symbolic link.
-
relativePath
public final String relativePath()
The relative path of the symbolic link from the folder where the query originated.
- Returns:
- The relative path of the symbolic link from the folder where the query originated.
-
fileMode
public final FileModeTypeEnum fileMode()
The file mode permissions of the blob that cotains information about the symbolic link.
If the service returns an enum value that is not available in the current SDK version,
fileModewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileModeAsString().- Returns:
- The file mode permissions of the blob that cotains information about the symbolic link.
- See Also:
FileModeTypeEnum
-
fileModeAsString
public final String fileModeAsString()
The file mode permissions of the blob that cotains information about the symbolic link.
If the service returns an enum value that is not available in the current SDK version,
fileModewill returnFileModeTypeEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfileModeAsString().- Returns:
- The file mode permissions of the blob that cotains information about the symbolic link.
- See Also:
FileModeTypeEnum
-
toBuilder
public SymbolicLink.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SymbolicLink.Builder,SymbolicLink>
-
builder
public static SymbolicLink.Builder builder()
-
serializableBuilderClass
public static Class<? extends SymbolicLink.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
-
-