CopyableBuilder<OpenInstancePublicPortsRequest.Builder,OpenInstancePublicPortsRequest>
, SdkBuilder<OpenInstancePublicPortsRequest.Builder,OpenInstancePublicPortsRequest>
public static interface OpenInstancePublicPortsRequest.Builder extends CopyableBuilder<OpenInstancePublicPortsRequest.Builder,OpenInstancePublicPortsRequest>
Modifier and Type | Method | Description |
---|---|---|
OpenInstancePublicPortsRequest.Builder |
instanceName(String instanceName) |
The name of the instance for which you want to open the public ports.
|
OpenInstancePublicPortsRequest.Builder |
portInfo(PortInfo portInfo) |
An array of key-value pairs containing information about the port mappings.
|
copy
apply, build
OpenInstancePublicPortsRequest.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.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.