@Generated(value="software.amazon.awssdk:codegen") public final class Code extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Code.Builder,Code>
Location and destination information about the source code files provided with the project request. The source code is uploaded to the new project source repository after project creation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Code.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Code.Builder |
builder() |
CodeDestination |
destination()
The repository to be created in AWS CodeStar.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Code.Builder> |
serializableBuilderClass() |
CodeSource |
source()
The location where the source code files provided with the project request are stored.
|
Code.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic CodeSource source()
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
public CodeDestination destination()
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.
public Code.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Code.Builder,Code>public static Code.Builder builder()
public static Class<? extends Code.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.