Class SourceCodeRepository
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.SourceCodeRepository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceCodeRepository.Builder,SourceCodeRepository>
@Generated("software.amazon.awssdk:codegen") public final class SourceCodeRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceCodeRepository.Builder,SourceCodeRepository>
Object containing source code information that is linked to an application component.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceCodeRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbranch()The branch of the source code.static SourceCodeRepository.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringprojectName()The name of the project.Stringrepository()The repository name for the source code.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceCodeRepository.Builder>serializableBuilderClass()SourceCodeRepository.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringversionControlType()The type of repository to use for the source code.-
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
-
branch
public final String branch()
The branch of the source code.
- Returns:
- The branch of the source code.
-
projectName
public final String projectName()
The name of the project.
- Returns:
- The name of the project.
-
repository
public final String repository()
The repository name for the source code.
- Returns:
- The repository name for the source code.
-
versionControlType
public final String versionControlType()
The type of repository to use for the source code.
- Returns:
- The type of repository to use for the source code.
-
toBuilder
public SourceCodeRepository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceCodeRepository.Builder,SourceCodeRepository>
-
builder
public static SourceCodeRepository.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceCodeRepository.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-