@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 String repositoryName()
The name of the repository to set or change the default branch for.
public 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 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.