Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTypeDetail

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

public class ActivityTypeDetail
extends Object
implements Serializable

Detailed information about an activity type.

See Also:
Serialized Form

Constructor Summary
ActivityTypeDetail()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTypeDetail

public ActivityTypeDetail()
Method Detail

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.

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.

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.

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.

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.

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

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:
A reference to this updated object so that method calls can be chained together.

getConfiguration

public ActivityTypeConfiguration getConfiguration()
The configuration settings registered with the activity type.

Returns:
The configuration settings registered with the activity type.

setConfiguration

public void setConfiguration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.

Parameters:
configuration - The configuration settings registered with the activity type.

withConfiguration

public ActivityTypeDetail withConfiguration(ActivityTypeConfiguration configuration)
The configuration settings registered with the activity type.

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

Parameters:
configuration - The configuration settings registered with the activity type.
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.