Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class ActivityTypeInfo

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

public class ActivityTypeInfo
extends java.lang.Object
implements java.io.Serializable

Detailed information about an activity type.

See Also:
Serialized Form

Constructor Summary
ActivityTypeInfo()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ActivityType getActivityType()
          The ActivityType type structure representing the activity type.
 java.util.Date getCreationDate()
          The date and time this activity type was created through RegisterActivityType.
 java.util.Date getDeprecationDate()
          If DEPRECATED, the date and time DeprecateActivityType was called.
 java.lang.String getDescription()
          The description of the activity type provided in RegisterActivityType.
 java.lang.String getStatus()
          The current status of the activity type.
 int hashCode()
           
 void setActivityType(ActivityType activityType)
          The ActivityType type structure representing the activity type.
 void setCreationDate(java.util.Date creationDate)
          The date and time this activity type was created through RegisterActivityType.
 void setDeprecationDate(java.util.Date deprecationDate)
          If DEPRECATED, the date and time DeprecateActivityType was called.
 void setDescription(java.lang.String description)
          The description of the activity type provided in RegisterActivityType.
 void setStatus(RegistrationStatus status)
          The current status of the activity type.
 void setStatus(java.lang.String status)
          The current status of the activity type.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ActivityTypeInfo withActivityType(ActivityType activityType)
          The ActivityType type structure representing the activity type.
 ActivityTypeInfo withCreationDate(java.util.Date creationDate)
          The date and time this activity type was created through RegisterActivityType.
 ActivityTypeInfo withDeprecationDate(java.util.Date deprecationDate)
          If DEPRECATED, the date and time DeprecateActivityType was called.
 ActivityTypeInfo withDescription(java.lang.String description)
          The description of the activity type provided in RegisterActivityType.
 ActivityTypeInfo withStatus(RegistrationStatus status)
          The current status of the activity type.
 ActivityTypeInfo withStatus(java.lang.String status)
          The current status of the activity type.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActivityTypeInfo

public ActivityTypeInfo()
Method Detail

getActivityType

public ActivityType getActivityType()
The ActivityType type structure representing the activity type.

Returns:
The ActivityType type structure representing the activity type.

setActivityType

public void setActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.

Parameters:
activityType - The ActivityType type structure representing the activity type.

withActivityType

public ActivityTypeInfo withActivityType(ActivityType activityType)
The ActivityType type structure representing the activity type.

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

Parameters:
activityType - The ActivityType type structure representing the activity type.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public java.lang.String getStatus()
The current status of the activity type.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Returns:
The current status of the activity type.
See Also:
RegistrationStatus

setStatus

public void setStatus(java.lang.String status)
The current status of the activity type.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the activity type.
See Also:
RegistrationStatus

withStatus

public ActivityTypeInfo withStatus(java.lang.String status)
The current status of the activity type.

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

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the activity type.
Returns:
A reference to this updated 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.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

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.

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

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The current status of the activity type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

getDescription

public java.lang.String getDescription()
The description of the activity type provided in RegisterActivityType.

Constraints:
Length: 0 - 1024

Returns:
The description of the activity type provided in RegisterActivityType.

setDescription

public void setDescription(java.lang.String description)
The description of the activity type provided in RegisterActivityType.

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the activity type provided in RegisterActivityType.

withDescription

public ActivityTypeInfo withDescription(java.lang.String description)
The description of the activity type provided in RegisterActivityType.

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

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the activity type provided in RegisterActivityType.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreationDate

public java.util.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.

setCreationDate

public void setCreationDate(java.util.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.

withCreationDate

public ActivityTypeInfo withCreationDate(java.util.Date creationDate)
The date and time this activity type was created through RegisterActivityType.

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

Parameters:
creationDate - The date and time this activity type was created through RegisterActivityType.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeprecationDate

public java.util.Date getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.

Returns:
If DEPRECATED, the date and time DeprecateActivityType was called.

setDeprecationDate

public void setDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.

Parameters:
deprecationDate - If DEPRECATED, the date and time DeprecateActivityType was called.

withDeprecationDate

public ActivityTypeInfo withDeprecationDate(java.util.Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.

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

Parameters:
deprecationDate - If DEPRECATED, the date and time DeprecateActivityType was called.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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