Interface ServiceDependency.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceDependency.Builder,,ServiceDependency> SdkBuilder<ServiceDependency.Builder,,ServiceDependency> SdkPojo
- Enclosing class:
ServiceDependency
-
Method Summary
Modifier and TypeMethodDescriptiondependencyKeyAttributes(Map<String, String> dependencyKeyAttributes) This is a string-to-string map.dependencyOperationName(String dependencyOperationName) The name of the called operation in the dependency.metricReferences(Collection<MetricReference> metricReferences) An array of structures that each contain information about one metric associated with this service dependency 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 dependency that was discovered by Application Signals.metricReferences(MetricReference... metricReferences) An array of structures that each contain information about one metric associated with this service dependency that was discovered by Application Signals.operationName(String operationName) The name of the operation in this service that calls the dependency.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
operationName
The name of the operation in this service that calls the dependency.
- Parameters:
operationName- The name of the operation in this service that calls the dependency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dependencyKeyAttributes
This is a string-to-string map. It can include the following fields.
-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies the location where this object is hosted, or what it belongs to.
- Parameters:
dependencyKeyAttributes- This is a string-to-string map. It can include the following fields.-
Typedesignates the type of object this is. -
ResourceTypespecifies the type of the resource. This field is used only when the value of theTypefield isResourceorAWS::Resource. -
Namespecifies the name of the object. This is used only if the value of theTypefield isService,RemoteService, orAWS::Service. -
Identifieridentifies the resource objects of this resource. This is used only if the value of theTypefield isResourceorAWS::Resource. -
Environmentspecifies 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.
-
-
dependencyOperationName
The name of the called operation in the dependency.
- Parameters:
dependencyOperationName- The name of the called operation in the dependency.- 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 dependency that was discovered by Application Signals.
- Parameters:
metricReferences- An array of structures that each contain information about one metric associated with this service dependency 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 dependency that was discovered by Application Signals.
- Parameters:
metricReferences- An array of structures that each contain information about one metric associated with this service dependency 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 dependency that was discovered by Application Signals.
This is a convenience method that creates an instance of theMetricReference.Builderavoiding the need to create one manually viaMetricReference.builder().When the
Consumercompletes,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:
-