@Generated(value="software.amazon.awssdk:codegen") public final class UpdateDefaultBranchRequest extends CodeCommitRequest implements ToCopyableBuilder<UpdateDefaultBranchRequest.Builder,UpdateDefaultBranchRequest>
Represents the input of an update default branch operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateDefaultBranchRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateDefaultBranchRequest.Builder |
builder() |
String |
defaultBranchName()
The name of the branch to set as the default.
|
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 to set or change the default branch for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateDefaultBranchRequest.Builder> |
serializableBuilderClass() |
UpdateDefaultBranchRequest.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 to set or change the default branch for.
public final String defaultBranchName()
The name of the branch to set as the default.
public UpdateDefaultBranchRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateDefaultBranchRequest.Builder,UpdateDefaultBranchRequest>toBuilder in class CodeCommitRequestpublic static UpdateDefaultBranchRequest.Builder builder()
public static Class<? extends UpdateDefaultBranchRequest.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.