@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkflowVersion extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about this version of the workflow.
Constructor and Description |
---|
WorkflowVersion() |
Modifier and Type | Method and Description |
---|---|
WorkflowVersion |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the workflow resource.
|
String |
getDateCreated()
The timestamp when Image Builder created the workflow version.
|
String |
getDescription()
Describes the workflow.
|
String |
getName()
The name of the workflow.
|
String |
getOwner()
The owner of the workflow resource.
|
String |
getType()
The image creation stage that this workflow applies to.
|
String |
getVersion()
The semantic version of the workflow resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the workflow resource.
|
void |
setDateCreated(String dateCreated)
The timestamp when Image Builder created the workflow version.
|
void |
setDescription(String description)
Describes the workflow.
|
void |
setName(String name)
The name of the workflow.
|
void |
setOwner(String owner)
The owner of the workflow resource.
|
void |
setType(String type)
The image creation stage that this workflow applies to.
|
void |
setVersion(String version)
The semantic version of the workflow resource.
|
String |
toString()
Returns a string representation of this object.
|
WorkflowVersion |
withArn(String arn)
The Amazon Resource Name (ARN) of the workflow resource.
|
WorkflowVersion |
withDateCreated(String dateCreated)
The timestamp when Image Builder created the workflow version.
|
WorkflowVersion |
withDescription(String description)
Describes the workflow.
|
WorkflowVersion |
withName(String name)
The name of the workflow.
|
WorkflowVersion |
withOwner(String owner)
The owner of the workflow resource.
|
WorkflowVersion |
withType(String type)
The image creation stage that this workflow applies to.
|
WorkflowVersion |
withType(WorkflowType type)
The image creation stage that this workflow applies to.
|
WorkflowVersion |
withVersion(String version)
The semantic version of the workflow resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the workflow resource.
arn
- The Amazon Resource Name (ARN) of the workflow resource.public String getArn()
The Amazon Resource Name (ARN) of the workflow resource.
public WorkflowVersion withArn(String arn)
The Amazon Resource Name (ARN) of the workflow resource.
arn
- The Amazon Resource Name (ARN) of the workflow resource.public void setName(String name)
The name of the workflow.
name
- The name of the workflow.public String getName()
The name of the workflow.
public WorkflowVersion withName(String name)
The name of the workflow.
name
- The name of the workflow.public void setVersion(String version)
The semantic version of the workflow resource. The format includes three nodes: <major>.<minor>.<patch>.
version
- The semantic version of the workflow resource. The format includes three nodes:
<major>.<minor>.<patch>.public String getVersion()
The semantic version of the workflow resource. The format includes three nodes: <major>.<minor>.<patch>.
public WorkflowVersion withVersion(String version)
The semantic version of the workflow resource. The format includes three nodes: <major>.<minor>.<patch>.
version
- The semantic version of the workflow resource. The format includes three nodes:
<major>.<minor>.<patch>.public void setDescription(String description)
Describes the workflow.
description
- Describes the workflow.public String getDescription()
Describes the workflow.
public WorkflowVersion withDescription(String description)
Describes the workflow.
description
- Describes the workflow.public void setType(String type)
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
type
- The image creation stage that this workflow applies to. Image Builder currently supports build and test
stage workflows.WorkflowType
public String getType()
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
WorkflowType
public WorkflowVersion withType(String type)
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
type
- The image creation stage that this workflow applies to. Image Builder currently supports build and test
stage workflows.WorkflowType
public WorkflowVersion withType(WorkflowType type)
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
type
- The image creation stage that this workflow applies to. Image Builder currently supports build and test
stage workflows.WorkflowType
public void setOwner(String owner)
The owner of the workflow resource.
owner
- The owner of the workflow resource.public String getOwner()
The owner of the workflow resource.
public WorkflowVersion withOwner(String owner)
The owner of the workflow resource.
owner
- The owner of the workflow resource.public void setDateCreated(String dateCreated)
The timestamp when Image Builder created the workflow version.
dateCreated
- The timestamp when Image Builder created the workflow version.public String getDateCreated()
The timestamp when Image Builder created the workflow version.
public WorkflowVersion withDateCreated(String dateCreated)
The timestamp when Image Builder created the workflow version.
dateCreated
- The timestamp when Image Builder created the workflow version.public String toString()
toString
in class Object
Object.toString()
public WorkflowVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.