@Generated(value="software.amazon.awssdk:codegen") public final class DeleteBranchRequest extends CodeCommitRequest implements ToCopyableBuilder<DeleteBranchRequest.Builder,DeleteBranchRequest>
Represents the input of a delete branch operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteBranchRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
branchName()
The name of the branch to delete.
|
static DeleteBranchRequest.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 to be deleted.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteBranchRequest.Builder> |
serializableBuilderClass() |
DeleteBranchRequest.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 to be deleted.
public final String branchName()
The name of the branch to delete.
public DeleteBranchRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteBranchRequest.Builder,DeleteBranchRequest>toBuilder in class CodeCommitRequestpublic static DeleteBranchRequest.Builder builder()
public static Class<? extends DeleteBranchRequest.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 © 2023. All rights reserved.