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 Details

    • 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

      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

      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 the AwsCloudMapInstanceAttribute.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<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:
    • 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

      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:
    • 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.