@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 which version of the folder content is returned.
|
boolean |
equals(Object obj) |
List<File> |
files()
The list of files that exist 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)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFolderResponse.Builder> |
serializableBuilderClass() |
List<Folder> |
subFolders()
The list of folders that exist beneath the specified folder, if any.
|
List<SubModule> |
subModules()
The list of submodules that exist in the specified folder, if any.
|
List<SymbolicLink> |
symbolicLinks()
The list of symbolic links to other files and folders that exist in the specified folder, if any.
|
GetFolderResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
treeId()
The full SHA-1 pointer of the tree information for the commit that contains the folder.
|
responseMetadata
sdkHttpResponse
copy
public String commitId()
The full commit ID used as a reference for which version of the folder content is returned.
public String folderPath()
The fully-qualified path of the folder whose contents are returned.
public String treeId()
The full SHA-1 pointer of the tree information for the commit that contains the folder.
public List<Folder> subFolders()
The list of folders that exist beneath the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<File> files()
The list of files that exist in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<SymbolicLink> symbolicLinks()
The list of symbolic links to other files and folders that exist in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<SubModule> subModules()
The list of submodules that exist in the specified folder, if any.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GetFolderResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetFolderResponse.Builder,GetFolderResponse>
toBuilder
in class AwsResponse
public static GetFolderResponse.Builder builder()
public static Class<? extends GetFolderResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.