Interface ServiceAttributes.Builder

  • Method Details

    • serviceArn

      ServiceAttributes.Builder serviceArn(String serviceArn)

      The ARN of the service that the attributes are associated with.

      Parameters:
      serviceArn - The ARN of the service that the attributes are associated with.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceOwner

      ServiceAttributes.Builder resourceOwner(String resourceOwner)

      The ID of the Amazon Web Services account that created the namespace with which the service is associated. If this isn't your account ID, it is the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

      Parameters:
      resourceOwner - The ID of the Amazon Web Services account that created the namespace with which the service is associated. If this isn't your account ID, it is the ID of the account that shared the namespace with your account. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attributes

      ServiceAttributes.Builder attributes(Map<String,String> attributes)

      A string map that contains the following information for the service that you specify in ServiceArn:

      • The attributes that apply to the service.

      • For each attribute, the applicable value.

      You can specify a total of 30 attributes.

      Parameters:
      attributes - A string map that contains the following information for the service that you specify in ServiceArn:

      • The attributes that apply to the service.

      • For each attribute, the applicable value.

      You can specify a total of 30 attributes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.