Class ActivityTypeInfo
- java.lang.Object
-
- software.amazon.awssdk.services.swf.model.ActivityTypeInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
@Generated("software.amazon.awssdk:codegen") public final class ActivityTypeInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
Detailed information about an activity type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActivityTypeInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTypeactivityType()The ActivityType type structure representing the activity type.static ActivityTypeInfo.Builderbuilder()InstantcreationDate()The date and time this activity type was created through RegisterActivityType.InstantdeprecationDate()If DEPRECATED, the date and time DeprecateActivityType was called.Stringdescription()The description of the activity type provided in RegisterActivityType.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ActivityTypeInfo.Builder>serializableBuilderClass()RegistrationStatusstatus()The current status of the activity type.StringstatusAsString()The current status of the activity type.ActivityTypeInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
activityType
public final ActivityType activityType()
The ActivityType type structure representing the activity type.
- Returns:
- The ActivityType type structure representing the activity type.
-
status
public final RegistrationStatus status()
The current status of the activity type.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the activity type.
- See Also:
RegistrationStatus
-
statusAsString
public final String statusAsString()
The current status of the activity type.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the activity type.
- See Also:
RegistrationStatus
-
description
public final String description()
The description of the activity type provided in RegisterActivityType.
- Returns:
- The description of the activity type provided in RegisterActivityType.
-
creationDate
public final Instant creationDate()
The date and time this activity type was created through RegisterActivityType.
- Returns:
- The date and time this activity type was created through RegisterActivityType.
-
deprecationDate
public final Instant deprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
- Returns:
- If DEPRECATED, the date and time DeprecateActivityType was called.
-
toBuilder
public ActivityTypeInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
-
builder
public static ActivityTypeInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActivityTypeInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-