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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ActivityTypeInfo.BuilderactivityType(Consumer<ActivityType.Builder> activityType)The ActivityType type structure representing the activity type.ActivityTypeInfo.BuilderactivityType(ActivityType activityType)The ActivityType type structure representing the activity type.ActivityTypeInfo.BuildercreationDate(Instant creationDate)The date and time this activity type was created through RegisterActivityType.ActivityTypeInfo.BuilderdeprecationDate(Instant deprecationDate)If DEPRECATED, the date and time DeprecateActivityType was called.ActivityTypeInfo.Builderdescription(String description)The description of the activity type provided in RegisterActivityType.ActivityTypeInfo.Builderstatus(String status)The current status of the activity type.ActivityTypeInfo.Builderstatus(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
activityType
ActivityTypeInfo.Builder activityType(ActivityType 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
default ActivityTypeInfo.Builder activityType(Consumer<ActivityType.Builder> activityType)
The ActivityType type structure representing the activity type.
This is a convenience method that creates an instance of theActivityType.Builderavoiding the need to create one manually viaActivityType.builder().When the
Consumercompletes,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:
activityType(ActivityType)
-
status
ActivityTypeInfo.Builder status(String 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:
RegistrationStatus,RegistrationStatus
-
status
ActivityTypeInfo.Builder status(RegistrationStatus 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:
RegistrationStatus,RegistrationStatus
-
description
ActivityTypeInfo.Builder description(String 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
ActivityTypeInfo.Builder creationDate(Instant 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
ActivityTypeInfo.Builder deprecationDate(Instant 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.
-
-