public static interface OpenInstancePublicPortsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<OpenInstancePublicPortsRequest.Builder,OpenInstancePublicPortsRequest>
| Modifier and Type | Method and Description |
|---|---|
OpenInstancePublicPortsRequest.Builder |
instanceName(String instanceName)
The name of the instance for which to open ports.
|
OpenInstancePublicPortsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
OpenInstancePublicPortsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default OpenInstancePublicPortsRequest.Builder |
portInfo(Consumer<PortInfo.Builder> portInfo)
An object to describe the ports to open for the specified instance.
|
OpenInstancePublicPortsRequest.Builder |
portInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildOpenInstancePublicPortsRequest.Builder portInfo(PortInfo portInfo)
An object to describe the ports to open for the specified instance.
portInfo - An object to describe the ports to open for the specified instance.default OpenInstancePublicPortsRequest.Builder portInfo(Consumer<PortInfo.Builder> portInfo)
An object to describe the ports to open for the specified instance.
This is a convenience that creates an instance of thePortInfo.Builder avoiding the need to create
one manually via PortInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to portInfo(PortInfo).portInfo - a consumer that will call methods on PortInfo.BuilderportInfo(PortInfo)OpenInstancePublicPortsRequest.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.OpenInstancePublicPortsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderOpenInstancePublicPortsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.