public class ActivityTypeInfo extends Object implements Serializable, Cloneable
Detailed information about an activity type.
Constructor and Description |
---|
ActivityTypeInfo() |
Modifier and Type | Method and Description |
---|---|
ActivityTypeInfo |
clone() |
boolean |
equals(Object obj) |
ActivityType |
getActivityType()
The ActivityType type structure representing the activity type.
|
Date |
getCreationDate()
The date and time this activity type was created through
RegisterActivityType.
|
Date |
getDeprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was
called.
|
String |
getDescription()
The description of the activity type provided in
RegisterActivityType.
|
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(Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
void |
setDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was
called.
|
void |
setDescription(String description)
The description of the activity type provided in
RegisterActivityType.
|
void |
setStatus(RegistrationStatus status)
The current status of the activity type.
|
void |
setStatus(String status)
The current status of the activity type.
|
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(Date creationDate)
The date and time this activity type was created through
RegisterActivityType.
|
ActivityTypeInfo |
withDeprecationDate(Date deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was
called.
|
ActivityTypeInfo |
withDescription(String description)
The description of the activity type provided in
RegisterActivityType.
|
ActivityTypeInfo |
withStatus(RegistrationStatus status)
The current status of the activity type.
|
ActivityTypeInfo |
withStatus(String status)
The current status of the activity type.
|
public ActivityType getActivityType()
public void setActivityType(ActivityType activityType)
activityType
- The ActivityType type structure representing the activity type.public ActivityTypeInfo withActivityType(ActivityType activityType)
Returns a reference to this object so that method calls can be chained together.
activityType
- The ActivityType type structure representing the activity type.public String getStatus()
Constraints:
Allowed Values: REGISTERED, DEPRECATED
RegistrationStatus
public void setStatus(String status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The current status of the activity type.RegistrationStatus
public ActivityTypeInfo withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The current status of the activity type.RegistrationStatus
public void setStatus(RegistrationStatus status)
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The current status of the activity type.RegistrationStatus
public ActivityTypeInfo withStatus(RegistrationStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: REGISTERED, DEPRECATED
status
- The current status of the activity type.RegistrationStatus
public String getDescription()
Constraints:
Length: 0 - 1024
public void setDescription(String description)
Constraints:
Length: 0 - 1024
description
- The description of the activity type provided in
RegisterActivityType.public ActivityTypeInfo withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
description
- The description of the activity type provided in
RegisterActivityType.public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- The date and time this activity type was created through
RegisterActivityType.public ActivityTypeInfo withCreationDate(Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- The date and time this activity type was created through
RegisterActivityType.public Date getDeprecationDate()
public void setDeprecationDate(Date deprecationDate)
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.public ActivityTypeInfo withDeprecationDate(Date deprecationDate)
Returns a reference to this object so that method calls can be chained together.
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was
called.public String toString()
toString
in class Object
Object.toString()
public ActivityTypeInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.