public static interface DescribeLifecycleHooksResponse.Builder extends AutoScalingResponse.Builder, CopyableBuilder<DescribeLifecycleHooksResponse.Builder,DescribeLifecycleHooksResponse>
Modifier and Type | Method and Description |
---|---|
DescribeLifecycleHooksResponse.Builder |
lifecycleHooks(Collection<LifecycleHook> lifecycleHooks)
The lifecycle hooks for the specified group.
|
DescribeLifecycleHooksResponse.Builder |
lifecycleHooks(Consumer<LifecycleHook.Builder>... lifecycleHooks)
The lifecycle hooks for the specified group.
|
DescribeLifecycleHooksResponse.Builder |
lifecycleHooks(LifecycleHook... lifecycleHooks)
The lifecycle hooks for the specified group.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeLifecycleHooksResponse.Builder lifecycleHooks(Collection<LifecycleHook> lifecycleHooks)
The lifecycle hooks for the specified group.
lifecycleHooks
- The lifecycle hooks for the specified group.DescribeLifecycleHooksResponse.Builder lifecycleHooks(LifecycleHook... lifecycleHooks)
The lifecycle hooks for the specified group.
lifecycleHooks
- The lifecycle hooks for the specified group.DescribeLifecycleHooksResponse.Builder lifecycleHooks(Consumer<LifecycleHook.Builder>... lifecycleHooks)
The lifecycle hooks for the specified group.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #lifecycleHooks(List)
.lifecycleHooks
- a consumer that will call methods on List.Builder
#lifecycleHooks(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.