public static interface CloseInstancePublicPortsRequest.Builder extends LightsailRequest.Builder, CopyableBuilder<CloseInstancePublicPortsRequest.Builder,CloseInstancePublicPortsRequest>
| Modifier and Type | Method and Description |
|---|---|
CloseInstancePublicPortsRequest.Builder |
instanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
|
default CloseInstancePublicPortsRequest.Builder |
portInfo(Consumer<PortInfo.Builder> portInfo)
Information about the public port you are trying to close.
|
CloseInstancePublicPortsRequest.Builder |
portInfo(PortInfo portInfo)
Information about the public port you are trying to close.
|
CloseInstancePublicPortsRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CloseInstancePublicPortsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildCloseInstancePublicPortsRequest.Builder portInfo(PortInfo portInfo)
Information about the public port you are trying to close.
portInfo - Information about the public port you are trying to close.default CloseInstancePublicPortsRequest.Builder portInfo(Consumer<PortInfo.Builder> portInfo)
Information about the public port you are trying to close.
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)CloseInstancePublicPortsRequest.Builder instanceName(String instanceName)
The name of the instance on which you're attempting to close the public ports.
instanceName - The name of the instance on which you're attempting to close the public ports.CloseInstancePublicPortsRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CloseInstancePublicPortsRequest.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.