@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceCodeVersion extends Object implements Serializable, Cloneable, StructuredPojo
Identifies a version of code that App Runner refers to within a source code repository.
Constructor and Description |
---|
SourceCodeVersion() |
Modifier and Type | Method and Description |
---|---|
SourceCodeVersion |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of version identifier.
|
String |
getValue()
A source code version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of version identifier.
|
void |
setValue(String value)
A source code version.
|
String |
toString()
Returns a string representation of this object.
|
SourceCodeVersion |
withType(SourceCodeVersionType type)
The type of version identifier.
|
SourceCodeVersion |
withType(String type)
The type of version identifier.
|
SourceCodeVersion |
withValue(String value)
A source code version.
|
public void setType(String type)
The type of version identifier.
For a git-based repository, branches represent versions.
type
- The type of version identifier.
For a git-based repository, branches represent versions.
SourceCodeVersionType
public String getType()
The type of version identifier.
For a git-based repository, branches represent versions.
For a git-based repository, branches represent versions.
SourceCodeVersionType
public SourceCodeVersion withType(String type)
The type of version identifier.
For a git-based repository, branches represent versions.
type
- The type of version identifier.
For a git-based repository, branches represent versions.
SourceCodeVersionType
public SourceCodeVersion withType(SourceCodeVersionType type)
The type of version identifier.
For a git-based repository, branches represent versions.
type
- The type of version identifier.
For a git-based repository, branches represent versions.
SourceCodeVersionType
public void setValue(String value)
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
value
- A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
public String getValue()
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
public SourceCodeVersion withValue(String value)
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
value
- A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
public String toString()
toString
in class Object
Object.toString()
public SourceCodeVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.