@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceCode extends Object implements Serializable, Cloneable, StructuredPojo
Object containing source code information that is linked to an application component.
Constructor and Description |
---|
SourceCode() |
Modifier and Type | Method and Description |
---|---|
SourceCode |
clone() |
boolean |
equals(Object obj) |
String |
getLocation()
The repository name for the source code.
|
String |
getSourceVersion()
The branch of the source code.
|
String |
getVersionControl()
The type of repository to use for the source code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocation(String location)
The repository name for the source code.
|
void |
setSourceVersion(String sourceVersion)
The branch of the source code.
|
void |
setVersionControl(String versionControl)
The type of repository to use for the source code.
|
String |
toString()
Returns a string representation of this object.
|
SourceCode |
withLocation(String location)
The repository name for the source code.
|
SourceCode |
withSourceVersion(String sourceVersion)
The branch of the source code.
|
SourceCode |
withVersionControl(String versionControl)
The type of repository to use for the source code.
|
SourceCode |
withVersionControl(VersionControl versionControl)
The type of repository to use for the source code.
|
public void setLocation(String location)
The repository name for the source code.
location
- The repository name for the source code.public String getLocation()
The repository name for the source code.
public SourceCode withLocation(String location)
The repository name for the source code.
location
- The repository name for the source code.public void setSourceVersion(String sourceVersion)
The branch of the source code.
sourceVersion
- The branch of the source code.public String getSourceVersion()
The branch of the source code.
public SourceCode withSourceVersion(String sourceVersion)
The branch of the source code.
sourceVersion
- The branch of the source code.public void setVersionControl(String versionControl)
The type of repository to use for the source code.
versionControl
- The type of repository to use for the source code.VersionControl
public String getVersionControl()
The type of repository to use for the source code.
VersionControl
public SourceCode withVersionControl(String versionControl)
The type of repository to use for the source code.
versionControl
- The type of repository to use for the source code.VersionControl
public SourceCode withVersionControl(VersionControl versionControl)
The type of repository to use for the source code.
versionControl
- The type of repository to use for the source code.VersionControl
public String toString()
toString
in class Object
Object.toString()
public SourceCode clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.