Interface ServiceDependent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceDependent.Builder,
,ServiceDependent> SdkBuilder<ServiceDependent.Builder,
,ServiceDependent> SdkPojo
- Enclosing class:
ServiceDependent
-
Method Summary
Modifier and TypeMethodDescriptiondependentKeyAttributes
(Map<String, String> dependentKeyAttributes) This is a string-to-string map.dependentOperationName
(String dependentOperationName) If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.metricReferences
(Collection<MetricReference> metricReferences) An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.metricReferences
(Consumer<MetricReference.Builder>... metricReferences) An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.metricReferences
(MetricReference... metricReferences) An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.operationName
(String operationName) If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.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
-
operationName
If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.
- Parameters:
operationName
- If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependentKeyAttributes
This is a string-to-string map. It can include the following fields.
-
Type
designates the type of object this is. -
ResourceType
specifies the type of the resource. This field is used only when the value of theType
field isResource
orAWS::Resource
. -
Name
specifies the name of the object. This is used only if the value of theType
field isService
,RemoteService
, orAWS::Service
. -
Identifier
identifies the resource objects of this resource. This is used only if the value of theType
field isResource
orAWS::Resource
. -
Environment
specifies the location where this object is hosted, or what it belongs to.
- Parameters:
dependentKeyAttributes
- This is a string-to-string map. It can include the following fields.-
Type
designates the type of object this is. -
ResourceType
specifies the type of the resource. This field is used only when the value of theType
field isResource
orAWS::Resource
. -
Name
specifies the name of the object. This is used only if the value of theType
field isService
,RemoteService
, orAWS::Service
. -
Identifier
identifies the resource objects of this resource. This is used only if the value of theType
field isResource
orAWS::Resource
. -
Environment
specifies the location where this object is hosted, or what it belongs to.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dependentOperationName
If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.
- Parameters:
dependentOperationName
- If the dependent invoker was a service that invoked it from an operation, the name of that dependent operation is displayed here.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricReferences
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
- Parameters:
metricReferences
- An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricReferences
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
- Parameters:
metricReferences
- An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricReferences
An array of structures that each contain information about one metric associated with this service dependent that was discovered by Application Signals.
This is a convenience method that creates an instance of theMetricReference.Builder
avoiding the need to create one manually viaMetricReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricReferences(List<MetricReference>)
.- Parameters:
metricReferences
- a consumer that will call methods onMetricReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-