public static interface CreateInstanceEventWindowResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateInstanceEventWindowResponse.Builder,CreateInstanceEventWindowResponse>
Modifier and Type | Method and Description |
---|---|
default CreateInstanceEventWindowResponse.Builder |
instanceEventWindow(Consumer<InstanceEventWindow.Builder> instanceEventWindow)
Information about the event window.
|
CreateInstanceEventWindowResponse.Builder |
instanceEventWindow(InstanceEventWindow instanceEventWindow)
Information about the event window.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateInstanceEventWindowResponse.Builder instanceEventWindow(InstanceEventWindow instanceEventWindow)
Information about the event window.
instanceEventWindow
- Information about the event window.default CreateInstanceEventWindowResponse.Builder instanceEventWindow(Consumer<InstanceEventWindow.Builder> instanceEventWindow)
Information about the event window.
This is a convenience method that creates an instance of theInstanceEventWindow.Builder
avoiding the
need to create one manually via InstanceEventWindow.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to instanceEventWindow(InstanceEventWindow)
.
instanceEventWindow
- a consumer that will call methods on InstanceEventWindow.Builder
instanceEventWindow(InstanceEventWindow)
Copyright © 2023. All rights reserved.