Interface ServiceAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceAttributes.Builder,
,ServiceAttributes> SdkBuilder<ServiceAttributes.Builder,
,ServiceAttributes> SdkPojo
- Enclosing class:
ServiceAttributes
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) A string map that contains the following information for the service that you specify inServiceArn
:resourceOwner
(String resourceOwner) The ID of the Amazon Web Services account that created the namespace with which the service is associated.serviceArn
(String serviceArn) The ARN of the service that the attributes are associated with.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 inServiceArn
:-
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.
-
-