public static interface PutInstancePublicPortsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<PutInstancePublicPortsRequest.Builder,PutInstancePublicPortsRequest>
| Modifier and Type | Method and Description |
|---|---|
PutInstancePublicPortsRequest.Builder |
instanceName(String instanceName)
The name of the instance for which to open ports.
|
PutInstancePublicPortsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutInstancePublicPortsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PutInstancePublicPortsRequest.Builder |
portInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
|
PutInstancePublicPortsRequest.Builder |
portInfos(Consumer<PortInfo.Builder>... portInfos)
An array of objects to describe the ports to open for the specified instance.
|
PutInstancePublicPortsRequest.Builder |
portInfos(PortInfo... portInfos)
An array of objects to describe the ports to open for the specified instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPutInstancePublicPortsRequest.Builder portInfos(Collection<PortInfo> portInfos)
An array of objects to describe the ports to open for the specified instance.
portInfos - An array of objects to describe the ports to open for the specified instance.PutInstancePublicPortsRequest.Builder portInfos(PortInfo... portInfos)
An array of objects to describe the ports to open for the specified instance.
portInfos - An array of objects to describe the ports to open for the specified instance.PutInstancePublicPortsRequest.Builder portInfos(Consumer<PortInfo.Builder>... portInfos)
An array of objects to describe the ports to open for the specified instance.
This is a convenience method 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 #portInfos(List.
portInfos - a consumer that will call methods on
PortInfo.Builder#portInfos(java.util.Collection) PutInstancePublicPortsRequest.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.PutInstancePublicPortsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPutInstancePublicPortsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.