public static interface GetInstancePortStatesResponse.Builder extends LightsailResponse.Builder, SdkPojo, CopyableBuilder<GetInstancePortStatesResponse.Builder,GetInstancePortStatesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetInstancePortStatesResponse.Builder |
portStates(Collection<InstancePortState> portStates)
An array of objects that describe the firewall port states for the specified instance.
|
GetInstancePortStatesResponse.Builder |
portStates(Consumer<InstancePortState.Builder>... portStates)
An array of objects that describe the firewall port states for the specified instance.
|
GetInstancePortStatesResponse.Builder |
portStates(InstancePortState... portStates)
An array of objects that describe the firewall port states for the specified instance.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetInstancePortStatesResponse.Builder portStates(Collection<InstancePortState> portStates)
An array of objects that describe the firewall port states for the specified instance.
portStates - An array of objects that describe the firewall port states for the specified instance.GetInstancePortStatesResponse.Builder portStates(InstancePortState... portStates)
An array of objects that describe the firewall port states for the specified instance.
portStates - An array of objects that describe the firewall port states for the specified instance.GetInstancePortStatesResponse.Builder portStates(Consumer<InstancePortState.Builder>... portStates)
An array of objects that describe the firewall port states for the specified instance.
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 © 2021. All rights reserved.