@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Code.Builder,Code>
public static Code.Builder builder()
public static Class<? extends Code.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.