Class ActivityTypeDetail

java.lang.Object
com.amazonaws.services.simpleworkflow.model.ActivityTypeDetail
All Implemented Interfaces:
Serializable, Cloneable

public class ActivityTypeDetail extends Object implements Serializable, Cloneable

Detailed information about an activity type.

See Also:
  • Constructor Details

    • ActivityTypeDetail

      public ActivityTypeDetail()
  • Method Details

    • setTypeInfo

      public void setTypeInfo(ActivityTypeInfo typeInfo)

      General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      Parameters:
      typeInfo - General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
    • getTypeInfo

      public ActivityTypeInfo getTypeInfo()

      General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      Returns:
      General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
    • withTypeInfo

      public ActivityTypeDetail withTypeInfo(ActivityTypeInfo typeInfo)

      General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      Parameters:
      typeInfo - General information about the activity type.

      The status of activity type (returned in the ActivityTypeInfo structure) can be one of the following.

      • REGISTERED: The type is registered and available. Workers supporting this type should be running.
      • DEPRECATED: The type was deprecated using DeprecateActivityType, but is still in use. You should keep workers supporting this type running. You cannot create new tasks of this type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setConfiguration

      public void setConfiguration(ActivityTypeConfiguration configuration)

      The configuration settings registered with the activity type.

      Parameters:
      configuration - The configuration settings registered with the activity type.
    • getConfiguration

      public ActivityTypeConfiguration getConfiguration()

      The configuration settings registered with the activity type.

      Returns:
      The configuration settings registered with the activity type.
    • withConfiguration

      public ActivityTypeDetail withConfiguration(ActivityTypeConfiguration configuration)

      The configuration settings registered with the activity type.

      Parameters:
      configuration - The configuration settings registered with the activity type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ActivityTypeDetail clone()
      Overrides:
      clone in class Object