Interface ServiceLifecycle.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceLifecycle.Builder,,ServiceLifecycle> SdkBuilder<ServiceLifecycle.Builder,,ServiceLifecycle> SdkPojo
- Enclosing class:
ServiceLifecycle
@Mutable
@NotThreadSafe
public static interface ServiceLifecycle.Builder
extends SdkPojo, CopyableBuilder<ServiceLifecycle.Builder,ServiceLifecycle>
-
Method Summary
Modifier and TypeMethodDescriptionlifecycleEvents(Collection<LifecycleEvent> lifecycleEvents) The list of lifecycle events for this service version.lifecycleEvents(Consumer<LifecycleEvent.Builder>... lifecycleEvents) The list of lifecycle events for this service version.lifecycleEvents(LifecycleEvent... lifecycleEvents) The list of lifecycle events for this service version.recommendedVersion(String recommendedVersion) The recommended version to upgrade to.The name of the Amazon Web Services service.A human-readable title for the lifecycle entry.The version of the service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
service
The name of the Amazon Web Services service.
- Parameters:
service- The name of the Amazon Web Services service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
The version of the service.
- Parameters:
version- The version of the service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A human-readable title for the lifecycle entry.
- Parameters:
title- A human-readable title for the lifecycle entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedVersion
The recommended version to upgrade to.
- Parameters:
recommendedVersion- The recommended version to upgrade to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The list of lifecycle events for this service version.
- Parameters:
lifecycleEvents- The list of lifecycle events for this service version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The list of lifecycle events for this service version.
- Parameters:
lifecycleEvents- The list of lifecycle events for this service version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleEvents
The list of lifecycle events for this service version.
This is a convenience method that creates an instance of theLifecycleEvent.Builderavoiding the need to create one manually viaLifecycleEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycleEvents(List<LifecycleEvent>).- Parameters:
lifecycleEvents- a consumer that will call methods onLifecycleEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-