@Stability(value=Experimental) public static final class CloudMapServiceDiscoveryOptions.Builder extends Object implements software.amazon.jsii.Builder<CloudMapServiceDiscoveryOptions>
CloudMapServiceDiscoveryOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CloudMapServiceDiscoveryOptions |
build()
Builds the configured instance.
|
CloudMapServiceDiscoveryOptions.Builder |
instanceAttributes(Map<String,String> instanceAttributes)
Sets the value of
CloudMapServiceDiscoveryOptions.getInstanceAttributes() |
CloudMapServiceDiscoveryOptions.Builder |
service(IService service)
Sets the value of
CloudMapServiceDiscoveryOptions.getService() |
@Stability(value=Experimental) public CloudMapServiceDiscoveryOptions.Builder service(IService service)
CloudMapServiceDiscoveryOptions.getService()service - The AWS Cloud Map Service to use for service discovery. This parameter is required.this@Stability(value=Experimental) public CloudMapServiceDiscoveryOptions.Builder instanceAttributes(Map<String,String> instanceAttributes)
CloudMapServiceDiscoveryOptions.getInstanceAttributes()instanceAttributes - A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance.
Only instances that match all of the specified
key/value pairs will be returned.this@Stability(value=Experimental) public CloudMapServiceDiscoveryOptions build()
build in interface software.amazon.jsii.Builder<CloudMapServiceDiscoveryOptions>CloudMapServiceDiscoveryOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.