Interface AwsCloudMapServiceDiscovery.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCloudMapServiceDiscovery.Builder,AwsCloudMapServiceDiscovery>,SdkBuilder<AwsCloudMapServiceDiscovery.Builder,AwsCloudMapServiceDiscovery>,SdkPojo
- Enclosing class:
- AwsCloudMapServiceDiscovery
public static interface AwsCloudMapServiceDiscovery.Builder extends SdkPojo, CopyableBuilder<AwsCloudMapServiceDiscovery.Builder,AwsCloudMapServiceDiscovery>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsCloudMapServiceDiscovery.Builderattributes(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.Builderattributes(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.Builderattributes(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.BuilderipPreference(String ipPreference)The preferred IP version that this virtual node uses.AwsCloudMapServiceDiscovery.BuilderipPreference(IpPreference ipPreference)The preferred IP version that this virtual node uses.AwsCloudMapServiceDiscovery.BuildernamespaceName(String namespaceName)The name of the Cloud Map namespace to use.AwsCloudMapServiceDiscovery.BuilderserviceName(String serviceName)The name of the Cloud Map service to use.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attributes
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. 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.
-
attributes
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.
- 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.
-
attributes
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.Builderavoiding the need to create one manually viaAwsCloudMapInstanceAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - Parameters:
attributes- a consumer that will call methods onAwsCloudMapInstanceAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributes(java.util.Collection)
-
ipPreference
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.
- 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:
IpPreference,IpPreference
-
ipPreference
AwsCloudMapServiceDiscovery.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.
- 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:
IpPreference,IpPreference
-
namespaceName
AwsCloudMapServiceDiscovery.Builder namespaceName(String namespaceName)
The 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.
-
serviceName
AwsCloudMapServiceDiscovery.Builder serviceName(String serviceName)
The 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.
-
-