@Stability(value=Stable) public static final class ServiceDiscoveryConfig.Builder extends Object implements software.amazon.jsii.Builder<ServiceDiscoveryConfig>
ServiceDiscoveryConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ServiceDiscoveryConfig |
build()
Builds the configured instance.
|
ServiceDiscoveryConfig.Builder |
cloudmap(CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty cloudmap)
Sets the value of
ServiceDiscoveryConfig.getCloudmap() |
ServiceDiscoveryConfig.Builder |
dns(CfnVirtualNode.DnsServiceDiscoveryProperty dns)
Sets the value of
ServiceDiscoveryConfig.getDns() |
@Stability(value=Stable) public ServiceDiscoveryConfig.Builder cloudmap(CfnVirtualNode.AwsCloudMapServiceDiscoveryProperty cloudmap)
ServiceDiscoveryConfig.getCloudmap()cloudmap - Cloud Map based Service Discovery.this@Stability(value=Stable) public ServiceDiscoveryConfig.Builder dns(CfnVirtualNode.DnsServiceDiscoveryProperty dns)
ServiceDiscoveryConfig.getDns()dns - DNS based Service Discovery.this@Stability(value=Stable) public ServiceDiscoveryConfig build()
build in interface software.amazon.jsii.Builder<ServiceDiscoveryConfig>ServiceDiscoveryConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.