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:
  • Constructor Details

    • ActivityTypeInfo

      public ActivityTypeInfo()
  • Method Details

    • 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:
    • getStatus

      public String getStatus()

      The current status of the activity type.

      Returns:
      The current status of the activity type.
      See Also:
    • 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:
    • setStatus

      public void setStatus(RegistrationStatus status)

      The current status of the activity type.

      Parameters:
      status - The current status of the activity type.
      See Also:
    • 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:
    • 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:
      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 ActivityTypeInfo clone()
      Overrides:
      clone in class Object