@Generated(value="software.amazon.awssdk:codegen") public class ActivityTypeInfo extends Object implements StructuredPojo, ToCopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
Detailed information about an activity type.
Modifier and Type | Class and Description |
---|---|
static interface |
ActivityTypeInfo.Builder |
Modifier and Type | Method and Description |
---|---|
ActivityType |
activityType()
The ActivityType type structure representing the activity type.
|
static ActivityTypeInfo.Builder |
builder() |
Instant |
creationDate()
The date and time this activity type was created through RegisterActivityType.
|
Instant |
deprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
|
String |
description()
The description of the activity type provided in RegisterActivityType.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ActivityTypeInfo.Builder> |
serializableBuilderClass() |
RegistrationStatus |
status()
The current status of the activity type.
|
String |
statusAsString()
The current status of the activity type.
|
ActivityTypeInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ActivityType activityType()
The ActivityType type structure representing the activity type.
public 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, status
will
return RegistrationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
RegistrationStatus
public 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, status
will
return RegistrationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
RegistrationStatus
public String description()
The description of the activity type provided in RegisterActivityType.
public Instant creationDate()
The date and time this activity type was created through RegisterActivityType.
public Instant deprecationDate()
If DEPRECATED, the date and time DeprecateActivityType was called.
public ActivityTypeInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
public static ActivityTypeInfo.Builder builder()
public static Class<? extends ActivityTypeInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.