public static interface ActivityTypeInfo.Builder extends CopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
| Modifier and Type | Method and Description |
|---|---|
ActivityTypeInfo.Builder |
activityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
|
default ActivityTypeInfo.Builder |
activityType(Consumer<ActivityType.Builder> activityType)
The ActivityType type structure representing the activity type.
|
ActivityTypeInfo.Builder |
creationDate(Instant creationDate)
The date and time this activity type was created through RegisterActivityType.
|
ActivityTypeInfo.Builder |
deprecationDate(Instant deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
|
ActivityTypeInfo.Builder |
description(String description)
The description of the activity type provided in RegisterActivityType.
|
ActivityTypeInfo.Builder |
status(RegistrationStatus status)
The current status of the activity type.
|
ActivityTypeInfo.Builder |
status(String status)
The current status of the activity type.
|
copyapply, buildActivityTypeInfo.Builder activityType(ActivityType activityType)
The ActivityType type structure representing the activity type.
activityType - The ActivityType type structure representing the activity type.default ActivityTypeInfo.Builder activityType(Consumer<ActivityType.Builder> activityType)
The ActivityType type structure representing the activity type.
This is a convenience that creates an instance of theActivityType.Builder avoiding the need to
create one manually via ActivityType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to activityType(ActivityType).activityType - a consumer that will call methods on ActivityType.BuilderactivityType(ActivityType)ActivityTypeInfo.Builder status(String status)
The current status of the activity type.
status - The current status of the activity type.RegistrationStatus,
RegistrationStatusActivityTypeInfo.Builder status(RegistrationStatus status)
The current status of the activity type.
status - The current status of the activity type.RegistrationStatus,
RegistrationStatusActivityTypeInfo.Builder description(String description)
The description of the activity type provided in RegisterActivityType.
description - The description of the activity type provided in RegisterActivityType.ActivityTypeInfo.Builder creationDate(Instant creationDate)
The date and time this activity type was created through RegisterActivityType.
creationDate - The date and time this activity type was created through RegisterActivityType.ActivityTypeInfo.Builder deprecationDate(Instant deprecationDate)
If DEPRECATED, the date and time DeprecateActivityType was called.
deprecationDate - If DEPRECATED, the date and time DeprecateActivityType was called.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.