Class CodeDestination
- java.lang.Object
-
- software.amazon.awssdk.services.codestar.model.CodeDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeDestination.Builder,CodeDestination>
@Generated("software.amazon.awssdk:codegen") public final class CodeDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeDestination.Builder,CodeDestination>
The repository to be created in AWS CodeStar. Valid values are AWS CodeCommit or GitHub. After AWS CodeStar provisions the new repository, the source code files provided with the project request are placed in the repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeDestination.Builderbuilder()CodeCommitCodeDestinationcodeCommit()Information about the AWS CodeCommit repository to be created in AWS CodeStar.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)GitHubCodeDestinationgitHub()Information about the GitHub repository to be created in AWS CodeStar.inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CodeDestination.Builder>serializableBuilderClass()CodeDestination.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
codeCommit
public final CodeCommitCodeDestination codeCommit()
Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
- Returns:
- Information about the AWS CodeCommit repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
-
gitHub
public final GitHubCodeDestination gitHub()
Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
- Returns:
- Information about the GitHub repository to be created in AWS CodeStar. This is where the source code files provided with the project request will be uploaded after project creation.
-
toBuilder
public CodeDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeDestination.Builder,CodeDestination>
-
builder
public static CodeDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeDestination.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.
-
-