public static interface OpenInstancePublicPortsRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<OpenInstancePublicPortsRequest.Builder,OpenInstancePublicPortsRequest>
| Modifier and Type | Method and Description |
|---|---|
OpenInstancePublicPortsRequest.Builder |
instanceName(String instanceName)
The name of the instance for which you want to open the public ports.
|
default OpenInstancePublicPortsRequest.Builder |
portInfo(Consumer<PortInfo.Builder> portInfo)
An array of key-value pairs containing information about the port mappings.
|
OpenInstancePublicPortsRequest.Builder |
portInfo(PortInfo portInfo)
An array of key-value pairs containing information about the port mappings.
|
OpenInstancePublicPortsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
OpenInstancePublicPortsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildOpenInstancePublicPortsRequest.Builder portInfo(PortInfo portInfo)
An array of key-value pairs containing information about the port mappings.
portInfo - An array of key-value pairs containing information about the port mappings.default OpenInstancePublicPortsRequest.Builder portInfo(Consumer<PortInfo.Builder> portInfo)
An array of key-value pairs containing information about the port mappings.
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 you want to open the public ports.
instanceName - The name of the instance for which you want to open the public ports.OpenInstancePublicPortsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.OpenInstancePublicPortsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.