Interface ActivityTypeInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActivityTypeInfo.Builder,
,ActivityTypeInfo> SdkBuilder<ActivityTypeInfo.Builder,
,ActivityTypeInfo> SdkPojo
- Enclosing class:
ActivityTypeInfo
public static interface ActivityTypeInfo.Builder
extends SdkPojo, CopyableBuilder<ActivityTypeInfo.Builder,ActivityTypeInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActivityTypeInfo.Builder
activityType
(Consumer<ActivityType.Builder> activityType) The ActivityType type structure representing the activity type.activityType
(ActivityType activityType) The ActivityType type structure representing the activity type.creationDate
(Instant creationDate) The date and time this activity type was created through RegisterActivityType.deprecationDate
(Instant deprecationDate) If DEPRECATED, the date and time DeprecateActivityType was called.description
(String description) The description of the activity type provided in RegisterActivityType.The current status of the activity type.status
(RegistrationStatus status) The current status of the activity type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activityType
The ActivityType type structure representing the activity type.
- Parameters:
activityType
- The ActivityType type structure representing the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
activityType
The ActivityType type structure representing the activity type.
This is a convenience method that creates an instance of theActivityType.Builder
avoiding the need to create one manually viaActivityType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactivityType(ActivityType)
.- Parameters:
activityType
- a consumer that will call methods onActivityType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the activity type.
- Parameters:
status
- The current status of the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the activity type.
- Parameters:
status
- The current status of the activity type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the activity type provided in RegisterActivityType.
- Parameters:
description
- The description of the activity type provided in RegisterActivityType.- Returns:
- 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.
- Parameters:
creationDate
- The date and time this activity type was created through RegisterActivityType.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deprecationDate
If DEPRECATED, the date and time DeprecateActivityType was called.
- Parameters:
deprecationDate
- If DEPRECATED, the date and time DeprecateActivityType was called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-