public static interface GetInstanceStateResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetInstanceStateResponse.Builder,GetInstanceStateResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetInstanceStateResponse.Builder |
state(Consumer<InstanceState.Builder> state)
The state of the instance.
|
GetInstanceStateResponse.Builder |
state(InstanceState state)
The state of the instance.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetInstanceStateResponse.Builder state(InstanceState state)
The state of the instance.
state - The state of the instance.default GetInstanceStateResponse.Builder state(Consumer<InstanceState.Builder> state)
The state of the instance.
This is a convenience that creates an instance of theInstanceState.Builder avoiding the need to
create one manually via InstanceState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to state(InstanceState).state - a consumer that will call methods on InstanceState.Builderstate(InstanceState)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.