@Generated(value="software.amazon.awssdk:codegen") public final class GetBranchRequest extends CodeCommitRequest implements ToCopyableBuilder<GetBranchRequest.Builder,GetBranchRequest>
Represents the input of a get branch operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBranchRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
branchName()
The name of the branch for which you want to retrieve information.
|
static GetBranchRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryName()
The name of the repository that contains the branch for which you want to retrieve information.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetBranchRequest.Builder> |
serializableBuilderClass() |
GetBranchRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryName()
The name of the repository that contains the branch for which you want to retrieve information.
public final String branchName()
The name of the branch for which you want to retrieve information.
public GetBranchRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBranchRequest.Builder,GetBranchRequest>toBuilder in class CodeCommitRequestpublic static GetBranchRequest.Builder builder()
public static Class<? extends GetBranchRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic 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 SdkRequestCopyright © 2021. All rights reserved.