Class ActivityTypeInfo
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ActivityTypeInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ActivityTypeInfo extends Object implements Serializable, Cloneable
Detailed information about an activity type.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityTypeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTypeInfoclone()booleanequals(Object obj)ActivityTypegetActivityType()The ActivityType type structure representing the activity type.DategetCreationDate()The date and time this activity type was created through RegisterActivityType.DategetDeprecationDate()If DEPRECATED, the date and time DeprecateActivityType was called.StringgetDescription()The description of the activity type provided in RegisterActivityType.StringgetStatus()The current status of the activity type.inthashCode()voidsetActivityType(ActivityType activityType)The ActivityType type structure representing the activity type.voidsetCreationDate(Date creationDate)The date and time this activity type was created through RegisterActivityType.voidsetDeprecationDate(Date deprecationDate)If DEPRECATED, the date and time DeprecateActivityType was called.voidsetDescription(String description)The description of the activity type provided in RegisterActivityType.voidsetStatus(RegistrationStatus status)The current status of the activity type.voidsetStatus(String status)The current status of the activity type.StringtoString()Returns a string representation of this object; useful for testing and debugging.ActivityTypeInfowithActivityType(ActivityType activityType)The ActivityType type structure representing the activity type.ActivityTypeInfowithCreationDate(Date creationDate)The date and time this activity type was created through RegisterActivityType.ActivityTypeInfowithDeprecationDate(Date deprecationDate)If DEPRECATED, the date and time DeprecateActivityType was called.ActivityTypeInfowithDescription(String description)The description of the activity type provided in RegisterActivityType.ActivityTypeInfowithStatus(RegistrationStatus status)The current status of the activity type.ActivityTypeInfowithStatus(String status)The current status of the activity type.
-
-
-
Method Detail
-
setActivityType
public void setActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
- Parameters:
activityType- The ActivityType type structure representing the activity type.
-
getActivityType
public ActivityType getActivityType()
The ActivityType type structure representing the activity type.
- Returns:
- The ActivityType type structure representing the activity type.
-
withActivityType
public ActivityTypeInfo withActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
- Parameters:
activityType- The ActivityType type structure representing the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The current status of the activity type.
- Parameters:
status- The current status of the activity type.- See Also:
RegistrationStatus
-
getStatus
public String getStatus()
The current status of the activity type.
- Returns:
- The current status of the activity type.
- See Also:
RegistrationStatus
-
withStatus
public ActivityTypeInfo withStatus(String status)
The current status of the activity type.
- Parameters:
status- The current status of the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setStatus
public void setStatus(RegistrationStatus status)
The current status of the activity type.
- Parameters:
status- The current status of the activity type.- See Also:
RegistrationStatus
-
withStatus
public ActivityTypeInfo withStatus(RegistrationStatus status)
The current status of the activity type.
- Parameters:
status- The current status of the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistrationStatus
-
setDescription
public void setDescription(String description)
The description of the activity type provided in RegisterActivityType.
- Parameters:
description- The description of the activity type provided in RegisterActivityType.
-
getDescription
public String getDescription()
The description of the activity type provided in RegisterActivityType.
- Returns:
- The description of the activity type provided in RegisterActivityType.
-
withDescription
public ActivityTypeInfo withDescription(String description)
The description of the activity type provided in RegisterActivityType.
- Parameters:
description- The description of the activity type provided in RegisterActivityType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
public void setCreationDate(Date creationDate)
The date and time this activity type was created through RegisterActivityType.
- Parameters:
creationDate- The date and time this activity type was created through RegisterActivityType.
-
getCreationDate
public Date getCreationDate()
The date and time this activity type was created through RegisterActivityType.
- Returns:
- The date and time this activity type was created through RegisterActivityType.
-
withCreationDate
public ActivityTypeInfo withCreationDate(Date creationDate)
The date and time this activity type was created through RegisterActivityType.
- Parameters:
creationDate- The date and time this activity type was created through RegisterActivityType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeprecationDate
public void setDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
- Parameters:
deprecationDate- If DEPRECATED, the date and time DeprecateActivityType was called.
-
getDeprecationDate
public Date getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
- Returns:
- If DEPRECATED, the date and time DeprecateActivityType was called.
-
withDeprecationDate
public ActivityTypeInfo withDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
- Parameters:
deprecationDate- If DEPRECATED, the date and time DeprecateActivityType was called.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ActivityTypeInfo clone()
-
-