@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceRevisionOverride extends Object implements Serializable, Cloneable, StructuredPojo
A list that allows you to specify, or override, the source revision for a pipeline execution that's being started. A source revision is the version with all the changes to your application code, or source artifact, for the pipeline execution.
Constructor and Description |
---|
SourceRevisionOverride() |
Modifier and Type | Method and Description |
---|---|
SourceRevisionOverride |
clone() |
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action where the override will be applied.
|
String |
getRevisionType()
The type of source revision, based on the source provider.
|
String |
getRevisionValue()
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline
execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionName(String actionName)
The name of the action where the override will be applied.
|
void |
setRevisionType(String revisionType)
The type of source revision, based on the source provider.
|
void |
setRevisionValue(String revisionValue)
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline
execution.
|
String |
toString()
Returns a string representation of this object.
|
SourceRevisionOverride |
withActionName(String actionName)
The name of the action where the override will be applied.
|
SourceRevisionOverride |
withRevisionType(SourceRevisionType revisionType)
The type of source revision, based on the source provider.
|
SourceRevisionOverride |
withRevisionType(String revisionType)
The type of source revision, based on the source provider.
|
SourceRevisionOverride |
withRevisionValue(String revisionValue)
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline
execution.
|
public void setActionName(String actionName)
The name of the action where the override will be applied.
actionName
- The name of the action where the override will be applied.public String getActionName()
The name of the action where the override will be applied.
public SourceRevisionOverride withActionName(String actionName)
The name of the action where the override will be applied.
actionName
- The name of the action where the override will be applied.public void setRevisionType(String revisionType)
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
revisionType
- The type of source revision, based on the source provider. For example, the revision type for the
CodeCommit action provider is the commit ID.SourceRevisionType
public String getRevisionType()
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
SourceRevisionType
public SourceRevisionOverride withRevisionType(String revisionType)
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
revisionType
- The type of source revision, based on the source provider. For example, the revision type for the
CodeCommit action provider is the commit ID.SourceRevisionType
public SourceRevisionOverride withRevisionType(SourceRevisionType revisionType)
The type of source revision, based on the source provider. For example, the revision type for the CodeCommit action provider is the commit ID.
revisionType
- The type of source revision, based on the source provider. For example, the revision type for the
CodeCommit action provider is the commit ID.SourceRevisionType
public void setRevisionValue(String revisionValue)
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
revisionValue
- The source revision, or version of your source artifact, with the changes that you want to run in the
pipeline execution.public String getRevisionValue()
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
public SourceRevisionOverride withRevisionValue(String revisionValue)
The source revision, or version of your source artifact, with the changes that you want to run in the pipeline execution.
revisionValue
- The source revision, or version of your source artifact, with the changes that you want to run in the
pipeline execution.public String toString()
toString
in class Object
Object.toString()
public SourceRevisionOverride clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.