Class GetWorkflowResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse
-
- software.amazon.awssdk.services.codecatalyst.model.GetWorkflowResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetWorkflowResponse extends CodeCatalystResponse implements ToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetWorkflowResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetWorkflowResponse.Builderbuilder()InstantcreatedTime()The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339WorkflowDefinitiondefinition()Information about the workflow definition file for the workflow.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the workflow.InstantlastUpdatedTime()The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339Stringname()The name of the workflow.StringprojectName()The name of the project in the space.WorkflowRunModerunMode()The behavior to use when multiple workflows occur at the same time.StringrunModeAsString()The behavior to use when multiple workflows occur at the same time.List<SdkField<?>>sdkFields()static Class<? extends GetWorkflowResponse.Builder>serializableBuilderClass()StringsourceBranchName()The name of the branch that contains the workflow YAML.StringsourceRepositoryName()The name of the source repository where the workflow YAML is stored.StringspaceName()The name of the space.WorkflowStatusstatus()The status of the workflow.StringstatusAsString()The status of the workflow.GetWorkflowResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
spaceName
public final String spaceName()
The name of the space.
- Returns:
- The name of the space.
-
projectName
public final String projectName()
The name of the project in the space.
- Returns:
- The name of the project in the space.
-
id
public final String id()
The ID of the workflow.
- Returns:
- The ID of the workflow.
-
name
public final String name()
The name of the workflow.
- Returns:
- The name of the workflow.
-
sourceRepositoryName
public final String sourceRepositoryName()
The name of the source repository where the workflow YAML is stored.
- Returns:
- The name of the source repository where the workflow YAML is stored.
-
sourceBranchName
public final String sourceBranchName()
The name of the branch that contains the workflow YAML.
- Returns:
- The name of the branch that contains the workflow YAML.
-
definition
public final WorkflowDefinition definition()
Information about the workflow definition file for the workflow.
- Returns:
- Information about the workflow definition file for the workflow.
-
createdTime
public final Instant createdTime()
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Returns:
- The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
-
lastUpdatedTime
public final Instant lastUpdatedTime()
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Returns:
- The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
-
runMode
public final WorkflowRunMode runMode()
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
If the service returns an enum value that is not available in the current SDK version,
runModewill returnWorkflowRunMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunModeAsString().- Returns:
- The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
- See Also:
WorkflowRunMode
-
runModeAsString
public final String runModeAsString()
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
If the service returns an enum value that is not available in the current SDK version,
runModewill returnWorkflowRunMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrunModeAsString().- Returns:
- The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
- See Also:
WorkflowRunMode
-
status
public final WorkflowStatus status()
The status of the workflow.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the workflow.
- See Also:
WorkflowStatus
-
statusAsString
public final String statusAsString()
The status of the workflow.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the workflow.
- See Also:
WorkflowStatus
-
toBuilder
public GetWorkflowResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetWorkflowResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetWorkflowResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-