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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityTypeDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTypeDetail
clone()
boolean
equals(Object obj)
ActivityTypeConfiguration
getConfiguration()
The configuration settings registered with the activity type.ActivityTypeInfo
getTypeInfo()
General information about the activity type.int
hashCode()
void
setConfiguration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.void
setTypeInfo(ActivityTypeInfo typeInfo)
General information about the activity type.String
toString()
Returns a string representation of this object; useful for testing and debugging.ActivityTypeDetail
withConfiguration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.ActivityTypeDetail
withTypeInfo(ActivityTypeInfo typeInfo)
General information about the activity type.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivityTypeDetail clone()
-
-