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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CloseInstancePublicPortsRequest.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.Builder
portInfo(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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.