@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 String repositoryName()
The name of the repository that contains the branch for which you want to retrieve information.
public 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.