@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()
For responses, this returns true if the service returned a value for the Files property.
|
int |
hashCode() |
boolean |
hasSubFolders()
For responses, this returns true if the service returned a value for the SubFolders property.
|
boolean |
hasSubModules()
For responses, this returns true if the service returned a value for the SubModules property.
|
boolean |
hasSymbolicLinks()
For responses, this returns true if the service returned a value for the SymbolicLinks property.
|
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubFolders() method.
public final boolean hasFiles()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFiles() method.
public final boolean hasSymbolicLinks()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSymbolicLinks() method.
public final boolean hasSubModules()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubModules() method.
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 © 2022. All rights reserved.