public static interface PutInstancePublicPortsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<PutInstancePublicPortsRequest.Builder,PutInstancePublicPortsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutInstancePublicPortsRequest.Builder |
instanceName(String instanceName)
The name of the instance for which to open ports.
|
PutInstancePublicPortsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutInstancePublicPortsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutInstancePublicPortsRequest.Builder |
portInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
|
PutInstancePublicPortsRequest.Builder |
portInfos(Consumer<PortInfo.Builder>... portInfos)
An array of objects to describe the ports to open for the specified instance.
|
PutInstancePublicPortsRequest.Builder |
portInfos(PortInfo... portInfos)
An array of objects to describe the ports to open for the specified instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutInstancePublicPortsRequest.Builder portInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
portInfos - An array of objects to describe the ports to open for the specified instance.PutInstancePublicPortsRequest.Builder portInfos(PortInfo... portInfos)
An array of objects to describe the ports to open for the specified instance.
portInfos - An array of objects to describe the ports to open for the specified instance.PutInstancePublicPortsRequest.Builder portInfos(Consumer<PortInfo.Builder>... portInfos)
An array of objects to describe the ports to open 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 #portInfos(List) .portInfos - a consumer that will call methods on List.Builder #portInfos(List) PutInstancePublicPortsRequest.Builder instanceName(String instanceName)
The name of the instance for which to open ports.
instanceName - The name of the instance for which to open ports.PutInstancePublicPortsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutInstancePublicPortsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.