Interface AwsCloudMapServiceDiscovery.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AwsCloudMapServiceDiscovery.Builder,,- AwsCloudMapServiceDiscovery> - SdkBuilder<AwsCloudMapServiceDiscovery.Builder,,- AwsCloudMapServiceDiscovery> - SdkPojo
- Enclosing class:
- AwsCloudMapServiceDiscovery
- 
Method SummaryModifier and TypeMethodDescriptionattributes(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.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.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.ipPreference(String ipPreference) The preferred IP version that this virtual node uses.ipPreference(IpPreference ipPreference) The preferred IP version that this virtual node uses.namespaceName(String namespaceName) The name of the Cloud Map namespace to use.serviceName(String serviceName) The name of the Cloud Map service to use.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
attributesA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
attributesA 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
attributesAwsCloudMapServiceDiscovery.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.Builderavoiding the need to create one manually viaAwsCloudMapInstanceAttribute.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributes(List<AwsCloudMapInstanceAttribute>).- Parameters:
- attributes- a consumer that will call methods on- AwsCloudMapInstanceAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ipPreferenceThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
ipPreferenceThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
namespaceNameThe name of the Cloud Map namespace to use. - Parameters:
- namespaceName- The name of the Cloud Map namespace to use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
serviceNameThe name of the Cloud Map service to use. - Parameters:
- serviceName- The name of the Cloud Map service to use.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-