@Generated(value="software.amazon.awssdk:codegen") public final class GetFolderResponse extends CodeCommitResponse implements ToCopyableBuilder<GetFolderResponse.Builder,GetFolderResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetFolderResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetFolderResponse.Builder |
builder() |
String |
commitId()
The full commit ID used as a reference for the returned version of the folder content.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<File> |
files()
The list of files in the specified folder, if any.
|
String |
folderPath()
The fully qualified path of the folder whose contents are returned.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFiles()
Returns true if the Files property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSubFolders()
Returns true if the SubFolders property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSubModules()
Returns true if the SubModules property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSymbolicLinks()
Returns true if the SymbolicLinks property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFolderResponse.Builder> |
serializableBuilderClass() |
List<Folder> |
subFolders()
The list of folders that exist under the specified folder, if any.
|
List<SubModule> |
subModules()
The list of submodules in the specified folder, if any.
|
List<SymbolicLink> |
symbolicLinks()
The list of symbolic links to other files and folders in the specified folder, if any.
|
GetFolderResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
treeId()
The full SHA-1 pointer of the tree information for the commit that contains the folder.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String commitId()
The full commit ID used as a reference for the returned version of the folder content.
public final String folderPath()
The fully qualified path of the folder whose contents are returned.
public final String treeId()
The full SHA-1 pointer of the tree information for the commit that contains the folder.
public final boolean hasSubFolders()
public final List<Folder> subFolders()
The list of folders that exist under the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubFolders() to see if a value was sent in this field.
public final boolean hasFiles()
public final List<File> files()
The list of files in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFiles() to see if a value was sent in this field.
public final boolean hasSymbolicLinks()
public final List<SymbolicLink> symbolicLinks()
The list of symbolic links to other files and folders in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSymbolicLinks() to see if a value was sent in this field.
public final boolean hasSubModules()
public final List<SubModule> subModules()
The list of submodules in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubModules() to see if a value was sent in this field.
public GetFolderResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetFolderResponse.Builder,GetFolderResponse>toBuilder in class AwsResponsepublic static GetFolderResponse.Builder builder()
public static Class<? extends GetFolderResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.