public static interface GetInstancePortStatesResponse.Builder extends LightsailResponse.Builder, CopyableBuilder<GetInstancePortStatesResponse.Builder,GetInstancePortStatesResponse>
Modifier and Type | Method and Description |
---|---|
GetInstancePortStatesResponse.Builder |
portStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
|
GetInstancePortStatesResponse.Builder |
portStates(Consumer<InstancePortState.Builder>... portStates)
Information about the port states resulting from your request.
|
GetInstancePortStatesResponse.Builder |
portStates(InstancePortState... portStates)
Information about the port states resulting from your request.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetInstancePortStatesResponse.Builder portStates(Collection<InstancePortState> portStates)
Information about the port states resulting from your request.
portStates
- Information about the port states resulting from your request.GetInstancePortStatesResponse.Builder portStates(InstancePortState... portStates)
Information about the port states resulting from your request.
portStates
- Information about the port states resulting from your request.GetInstancePortStatesResponse.Builder portStates(Consumer<InstancePortState.Builder>... portStates)
Information about the port states resulting from your request.
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 #portStates(List)
.portStates
- a consumer that will call methods on List.Builder
#portStates(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.