@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Code extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
Code() |
Modifier and Type | Method and Description |
---|---|
Code |
clone() |
boolean |
equals(Object obj) |
CodeDestination |
getDestination()
The repository to be created in AWS CodeStar.
|
CodeSource |
getSource()
The location where the source code files provided with the project request are stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(CodeDestination destination)
The repository to be created in AWS CodeStar.
|
void |
setSource(CodeSource source)
The location where the source code files provided with the project request are stored.
|
String |
toString()
Returns a string representation of this object.
|
Code |
withDestination(CodeDestination destination)
The repository to be created in AWS CodeStar.
|
Code |
withSource(CodeSource source)
The location where the source code files provided with the project request are stored.
|
public void setSource(CodeSource source)
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
source
- The location where the source code files provided with the project request are stored. AWS CodeStar
retrieves the files during project creation.public CodeSource getSource()
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
public Code withSource(CodeSource source)
The location where the source code files provided with the project request are stored. AWS CodeStar retrieves the files during project creation.
source
- The location where the source code files provided with the project request are stored. AWS CodeStar
retrieves the files during project creation.public void setDestination(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.
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 CodeDestination getDestination()
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 withDestination(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.
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 String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.