Class BlueprintRun

java.lang.Object
software.amazon.awssdk.services.glue.model.BlueprintRun
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<BlueprintRun.Builder,BlueprintRun>

@Generated("software.amazon.awssdk:codegen") public final class BlueprintRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BlueprintRun.Builder,BlueprintRun>

The details of a blueprint run.

See Also:
  • Method Details

    • blueprintName

      public final String blueprintName()

      The name of the blueprint.

      Returns:
      The name of the blueprint.
    • runId

      public final String runId()

      The run ID for this blueprint run.

      Returns:
      The run ID for this blueprint run.
    • workflowName

      public final String workflowName()

      The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an error, there will not be a workflow created.

      Returns:
      The name of a workflow that is created as a result of a successful blueprint run. If a blueprint run has an error, there will not be a workflow created.
    • state

      public final BlueprintRunState state()

      The state of the blueprint run. Possible values are:

      • Running — The blueprint run is in progress.

      • Succeeded — The blueprint run completed successfully.

      • Failed — The blueprint run failed and rollback is complete.

      • Rolling Back — The blueprint run failed and rollback is in progress.

      If the service returns an enum value that is not available in the current SDK version, state will return BlueprintRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      The state of the blueprint run. Possible values are:

      • Running — The blueprint run is in progress.

      • Succeeded — The blueprint run completed successfully.

      • Failed — The blueprint run failed and rollback is complete.

      • Rolling Back — The blueprint run failed and rollback is in progress.

      See Also:
    • stateAsString

      public final String stateAsString()

      The state of the blueprint run. Possible values are:

      • Running — The blueprint run is in progress.

      • Succeeded — The blueprint run completed successfully.

      • Failed — The blueprint run failed and rollback is complete.

      • Rolling Back — The blueprint run failed and rollback is in progress.

      If the service returns an enum value that is not available in the current SDK version, state will return BlueprintRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

      Returns:
      The state of the blueprint run. Possible values are:

      • Running — The blueprint run is in progress.

      • Succeeded — The blueprint run completed successfully.

      • Failed — The blueprint run failed and rollback is complete.

      • Rolling Back — The blueprint run failed and rollback is in progress.

      See Also:
    • startedOn

      public final Instant startedOn()

      The date and time that the blueprint run started.

      Returns:
      The date and time that the blueprint run started.
    • completedOn

      public final Instant completedOn()

      The date and time that the blueprint run completed.

      Returns:
      The date and time that the blueprint run completed.
    • errorMessage

      public final String errorMessage()

      Indicates any errors that are seen while running the blueprint.

      Returns:
      Indicates any errors that are seen while running the blueprint.
    • rollbackErrorMessage

      public final String rollbackErrorMessage()

      If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.

      Returns:
      If there are any errors while creating the entities of a workflow, we try to roll back the created entities until that point and delete them. This attribute indicates the errors seen while trying to delete the entities that are created.
    • parameters

      public final String parameters()

      The blueprint parameters as a string. You will have to provide a value for each key that is required from the parameter spec that is defined in the Blueprint$ParameterSpec.

      Returns:
      The blueprint parameters as a string. You will have to provide a value for each key that is required from the parameter spec that is defined in the Blueprint$ParameterSpec.
    • roleArn

      public final String roleArn()

      The role ARN. This role will be assumed by the Glue service and will be used to create the workflow and other entities of a workflow.

      Returns:
      The role ARN. This role will be assumed by the Glue service and will be used to create the workflow and other entities of a workflow.
    • toBuilder

      public BlueprintRun.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<BlueprintRun.Builder,BlueprintRun>
      Returns:
      a builder for type T
    • builder

      public static BlueprintRun.Builder builder()
    • serializableBuilderClass

      public static Class<? extends BlueprintRun.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.