@Generated(value="software.amazon.awssdk:codegen") public final class GetFolderRequest extends CodeCommitRequest implements ToCopyableBuilder<GetFolderRequest.Builder,GetFolderRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetFolderRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetFolderRequest.Builder |
builder() |
String |
commitSpecifier()
A fully-qualified reference used to identify a commit that contains the version of the folder's content to
return.
|
boolean |
equals(Object obj) |
String |
folderPath()
The fully-qualified path to the folder whose contents will be returned, including the folder name.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
repositoryName()
The name of the repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetFolderRequest.Builder> |
serializableBuilderClass() |
GetFolderRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String repositoryName()
The name of the repository.
public String commitSpecifier()
A fully-qualified reference used to identify a commit that contains the version of the folder's content to return. A fully-qualified reference can be a commit ID, branch name, tag, or reference such as HEAD. If no specifier is provided, the folder content will be returned as it exists in the HEAD commit.
public String folderPath()
The fully-qualified path to the folder whose contents will be returned, including the folder name. For example, /examples is a fully-qualified path to a folder named examples that was created off of the root directory (/) of a repository.
public GetFolderRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetFolderRequest.Builder,GetFolderRequest>
toBuilder
in class CodeCommitRequest
public static GetFolderRequest.Builder builder()
public static Class<? extends GetFolderRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. 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 SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
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.