Class ActivityType

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

public class ActivityType extends Object implements Serializable, Cloneable

Represents an activity type.

See Also:
  • Constructor Details

    • ActivityType

      public ActivityType()
  • Method Details

    • setName

      public void setName(String name)

      The name of this activity.

      The combination of activity type name and version must be unique within a domain.
      Parameters:
      name - The name of this activity.

      The combination of activity type name and version must be unique within a domain.
    • getName

      public String getName()

      The name of this activity.

      The combination of activity type name and version must be unique within a domain.
      Returns:
      The name of this activity.

      The combination of activity type name and version must be unique within a domain.
    • withName

      public ActivityType withName(String name)

      The name of this activity.

      The combination of activity type name and version must be unique within a domain.
      Parameters:
      name - The name of this activity.

      The combination of activity type name and version must be unique within a domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVersion

      public void setVersion(String version)

      The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
      Parameters:
      version - The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
    • getVersion

      public String getVersion()

      The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
      Returns:
      The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
    • withVersion

      public ActivityType withVersion(String version)

      The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
      Parameters:
      version - The version of this activity.

      The combination of activity type name and version must be unique with in a domain.
      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 ActivityType clone()
      Overrides:
      clone in class Object