Class WorkflowVersion
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.WorkflowVersion
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowVersion.Builder,WorkflowVersion>
@Generated("software.amazon.awssdk:codegen") public final class WorkflowVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowVersion.Builder,WorkflowVersion>
Contains details about this version of the workflow.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflowVersion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the workflow resource.static WorkflowVersion.Builderbuilder()StringdateCreated()The timestamp when Image Builder created the workflow version.Stringdescription()Describes the workflow.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the workflow.Stringowner()The owner of the workflow resource.List<SdkField<?>>sdkFields()static Class<? extends WorkflowVersion.Builder>serializableBuilderClass()WorkflowVersion.BuildertoBuilder()StringtoString()Returns a string representation of this object.WorkflowTypetype()The image creation stage that this workflow applies to.StringtypeAsString()The image creation stage that this workflow applies to.Stringversion()The semantic version of the workflow resource.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the workflow resource.
- Returns:
- The Amazon Resource Name (ARN) of the workflow resource.
-
name
public final String name()
The name of the workflow.
- Returns:
- The name of the workflow.
-
version
public final String version()
The semantic version of the workflow resource. The format includes three nodes: <major>.<minor>.<patch>.
- Returns:
- The semantic version of the workflow resource. The format includes three nodes: <major>.<minor>.<patch>.
-
description
public final String description()
Describes the workflow.
- Returns:
- Describes the workflow.
-
type
public final WorkflowType type()
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
If the service returns an enum value that is not available in the current SDK version,
typewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
- See Also:
WorkflowType
-
typeAsString
public final String typeAsString()
The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
If the service returns an enum value that is not available in the current SDK version,
typewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The image creation stage that this workflow applies to. Image Builder currently supports build and test stage workflows.
- See Also:
WorkflowType
-
owner
public final String owner()
The owner of the workflow resource.
- Returns:
- The owner of the workflow resource.
-
dateCreated
public final String dateCreated()
The timestamp when Image Builder created the workflow version.
- Returns:
- The timestamp when Image Builder created the workflow version.
-
toBuilder
public WorkflowVersion.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkflowVersion.Builder,WorkflowVersion>
-
builder
public static WorkflowVersion.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkflowVersion.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-