Interface Entity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Entity.Builder,Entity>,SdkBuilder<Entity.Builder,Entity>,SdkPojo
- Enclosing class:
- Entity
public static interface Entity.Builder extends SdkPojo, CopyableBuilder<Entity.Builder,Entity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entity.Builderattributes(Map<String,String> attributes)Additional attributes of the entity that are not used to specify the identity of the entity.Entity.BuilderkeyAttributes(Map<String,String> keyAttributes)The attributes of the entity which identify the specific entity, as a list of key-value pairs.-
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 Detail
-
keyAttributes
Entity.Builder keyAttributes(Map<String,String> keyAttributes)
The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the same
KeyAttributesare considered to be the same entity. For an entity to be valid, theKeyAttributesmust exist and be formatted correctly.There are five allowed attributes (key names):
Type,ResourceType,Identifier,Name, andEnvironment.For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.
- Parameters:
keyAttributes- The attributes of the entity which identify the specific entity, as a list of key-value pairs. Entities with the sameKeyAttributesare considered to be the same entity. For an entity to be valid, theKeyAttributesmust exist and be formatted correctly.There are five allowed attributes (key names):
Type,ResourceType,Identifier,Name, andEnvironment.For details about how to use the key attributes to specify an entity, see How to add related information to telemetry in the CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
Entity.Builder attributes(Map<String,String> attributes)
Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.
For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.
- Parameters:
attributes- Additional attributes of the entity that are not used to specify the identity of the entity. A list of key-value pairs.For details about how to use the attributes, see How to add related information to telemetry in the CloudWatch User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-