Class CreateSourceRepositoryBranchRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codecatalyst.model.CodeCatalystRequest
-
- software.amazon.awssdk.services.codecatalyst.model.CreateSourceRepositoryBranchRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateSourceRepositoryBranchRequest.Builder,CreateSourceRepositoryBranchRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateSourceRepositoryBranchRequest extends CodeCatalystRequest implements ToCopyableBuilder<CreateSourceRepositoryBranchRequest.Builder,CreateSourceRepositoryBranchRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateSourceRepositoryBranchRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateSourceRepositoryBranchRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringheadCommitId()The commit ID in an existing branch from which you want to create the new branch.Stringname()The name for the branch you're creating.StringprojectName()The name of the project in the space.List<SdkField<?>>sdkFields()static Class<? extends CreateSourceRepositoryBranchRequest.Builder>serializableBuilderClass()StringsourceRepositoryName()The name of the repository where you want to create a branch.StringspaceName()The name of the space.CreateSourceRepositoryBranchRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
spaceName
public final String spaceName()
The name of the space.
- Returns:
- The name of the space.
-
projectName
public final String projectName()
The name of the project in the space.
- Returns:
- The name of the project in the space.
-
sourceRepositoryName
public final String sourceRepositoryName()
The name of the repository where you want to create a branch.
- Returns:
- The name of the repository where you want to create a branch.
-
name
public final String name()
The name for the branch you're creating.
- Returns:
- The name for the branch you're creating.
-
headCommitId
public final String headCommitId()
The commit ID in an existing branch from which you want to create the new branch.
- Returns:
- The commit ID in an existing branch from which you want to create the new branch.
-
toBuilder
public CreateSourceRepositoryBranchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateSourceRepositoryBranchRequest.Builder,CreateSourceRepositoryBranchRequest>- Specified by:
toBuilderin classCodeCatalystRequest
-
builder
public static CreateSourceRepositoryBranchRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateSourceRepositoryBranchRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-