Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityType

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.ActivityType
All Implemented Interfaces:
Serializable

public class ActivityType
extends Object
implements Serializable

Represents an activity type.

See Also:
Serialized Form

Constructor Summary
ActivityType()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          The name of this activity.
 String getVersion()
          The version of this activity.
 int hashCode()
           
 void setName(String name)
          The name of this activity.
 void setVersion(String version)
          The version of this activity.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityType withName(String name)
          The name of this activity.
 ActivityType withVersion(String version)
          The version of this activity.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityType

public ActivityType()
Method Detail

getName

public String getName()
The name of this activity. The combination of activity type name and version must be unique within a domain.

Constraints:
Length: 1 - 256

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

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.

Constraints:
Length: 1 - 256

Parameters:
name - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

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

getVersion

public String getVersion()
The version of this activity. The combination of activity type name and version must be unique with in a domain.

Constraints:
Length: 1 - 64

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

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.

Constraints:
Length: 1 - 64

Parameters:
version - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 64

Parameters:
version - The version of this activity. The combination of activity type name and version must be unique with in a domain.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.