public static interface AwsCloudMapServiceDiscovery.Builder extends SdkPojo, CopyableBuilder<AwsCloudMapServiceDiscovery.Builder,AwsCloudMapServiceDiscovery>
| Modifier and Type | Method and Description |
|---|---|
AwsCloudMapServiceDiscovery.Builder |
attributes(AwsCloudMapInstanceAttribute... attributes)
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.
|
AwsCloudMapServiceDiscovery.Builder |
attributes(Collection<AwsCloudMapInstanceAttribute> attributes)
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.
|
AwsCloudMapServiceDiscovery.Builder |
attributes(Consumer<AwsCloudMapInstanceAttribute.Builder>... attributes)
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.
|
AwsCloudMapServiceDiscovery.Builder |
ipPreference(IpPreference ipPreference)
The preferred IP version that this virtual node uses.
|
AwsCloudMapServiceDiscovery.Builder |
ipPreference(String ipPreference)
The preferred IP version that this virtual node uses.
|
AwsCloudMapServiceDiscovery.Builder |
namespaceName(String namespaceName)
The name of the Cloud Map namespace to use.
|
AwsCloudMapServiceDiscovery.Builder |
serviceName(String serviceName)
The name of the Cloud Map service to use.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsCloudMapServiceDiscovery.Builder attributes(Collection<AwsCloudMapInstanceAttribute> attributes)
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.
attributes - 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.AwsCloudMapServiceDiscovery.Builder attributes(AwsCloudMapInstanceAttribute... attributes)
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.
attributes - 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.AwsCloudMapServiceDiscovery.Builder attributes(Consumer<AwsCloudMapInstanceAttribute.Builder>... attributes)
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 is a convenience method that creates an instance of theAwsCloudMapInstanceAttribute.Builder avoiding the need
to create one manually via
AwsCloudMapInstanceAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #attributes(List.
attributes - a consumer that will call methods on
AwsCloudMapInstanceAttribute.Builder#attributes(java.util.Collection) AwsCloudMapServiceDiscovery.Builder ipPreference(String ipPreference)
The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
ipPreference - The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node
only overrides the IP preference set for the mesh on this specific node.IpPreference,
IpPreferenceAwsCloudMapServiceDiscovery.Builder ipPreference(IpPreference ipPreference)
The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
ipPreference - The preferred IP version that this virtual node uses. Setting the IP preference on the virtual node
only overrides the IP preference set for the mesh on this specific node.IpPreference,
IpPreferenceAwsCloudMapServiceDiscovery.Builder namespaceName(String namespaceName)
The name of the Cloud Map namespace to use.
namespaceName - The name of the Cloud Map namespace to use.AwsCloudMapServiceDiscovery.Builder serviceName(String serviceName)
The name of the Cloud Map service to use.
serviceName - The name of the Cloud Map service to use.Copyright © 2023. All rights reserved.