@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeRepository extends Object implements Serializable, Cloneable, StructuredPojo
Describes a source code repository.
Constructor and Description |
---|
CodeRepository() |
Modifier and Type | Method and Description |
---|---|
CodeRepository |
clone() |
boolean |
equals(Object obj) |
CodeConfiguration |
getCodeConfiguration()
Configuration for building and running the service from a source code repository.
|
String |
getRepositoryUrl()
The location of the repository that contains the source code.
|
SourceCodeVersion |
getSourceCodeVersion()
The version that should be used within the source code repository.
|
String |
getSourceDirectory()
The path of the directory that stores source code and configuration files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCodeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
|
void |
setRepositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
|
void |
setSourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
|
void |
setSourceDirectory(String sourceDirectory)
The path of the directory that stores source code and configuration files.
|
String |
toString()
Returns a string representation of this object.
|
CodeRepository |
withCodeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
|
CodeRepository |
withRepositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
|
CodeRepository |
withSourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
|
CodeRepository |
withSourceDirectory(String sourceDirectory)
The path of the directory that stores source code and configuration files.
|
public void setRepositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
repositoryUrl
- The location of the repository that contains the source code.public String getRepositoryUrl()
The location of the repository that contains the source code.
public CodeRepository withRepositoryUrl(String repositoryUrl)
The location of the repository that contains the source code.
repositoryUrl
- The location of the repository that contains the source code.public void setSourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
sourceCodeVersion
- The version that should be used within the source code repository.public SourceCodeVersion getSourceCodeVersion()
The version that should be used within the source code repository.
public CodeRepository withSourceCodeVersion(SourceCodeVersion sourceCodeVersion)
The version that should be used within the source code repository.
sourceCodeVersion
- The version that should be used within the source code repository.public void setCodeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
codeConfiguration
- Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
public CodeConfiguration getCodeConfiguration()
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
CodeConfiguration
is required only for CreateService
request.
public CodeRepository withCodeConfiguration(CodeConfiguration codeConfiguration)
Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
codeConfiguration
- Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only for CreateService
request.
public void setSourceDirectory(String sourceDirectory)
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
sourceDirectory
- The path of the directory that stores source code and configuration files. The build and start commands
also execute from here. The path is absolute from root and, if not specified, defaults to the repository
root.public String getSourceDirectory()
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
public CodeRepository withSourceDirectory(String sourceDirectory)
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
sourceDirectory
- The path of the directory that stores source code and configuration files. The build and start commands
also execute from here. The path is absolute from root and, if not specified, defaults to the repository
root.public String toString()
toString
in class Object
Object.toString()
public CodeRepository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.