Class PutWorkflowRunPropertiesRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<PutWorkflowRunPropertiesRequest.Builder,PutWorkflowRunPropertiesRequest>

@Generated("software.amazon.awssdk:codegen") public final class PutWorkflowRunPropertiesRequest extends GlueRequest implements ToCopyableBuilder<PutWorkflowRunPropertiesRequest.Builder,PutWorkflowRunPropertiesRequest>
  • Method Details

    • name

      public final String name()

      Name of the workflow which was run.

      Returns:
      Name of the workflow which was run.
    • runId

      public final String runId()

      The ID of the workflow run for which the run properties should be updated.

      Returns:
      The ID of the workflow run for which the run properties should be updated.
    • hasRunProperties

      public final boolean hasRunProperties()
      For responses, this returns true if the service returned a value for the RunProperties property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • runProperties

      public final Map<String,String> runProperties()

      The properties to put for the specified run.

      Run properties may be logged. Do not pass plaintext secrets as properties. Retrieve secrets from a Glue Connection, Amazon Web Services Secrets Manager or other secret management mechanism if you intend to use them within the workflow run.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasRunProperties() method.

      Returns:
      The properties to put for the specified run.

      Run properties may be logged. Do not pass plaintext secrets as properties. Retrieve secrets from a Glue Connection, Amazon Web Services Secrets Manager or other secret management mechanism if you intend to use them within the workflow run.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<PutWorkflowRunPropertiesRequest.Builder,PutWorkflowRunPropertiesRequest>
      Specified by:
      toBuilder in class GlueRequest
    • builder

      public static PutWorkflowRunPropertiesRequest.Builder builder()
    • serializableBuilderClass

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

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

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

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo