Interface ServiceOperation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceOperation.Builder,
,ServiceOperation> SdkBuilder<ServiceOperation.Builder,
,ServiceOperation> SdkPojo
- Enclosing class:
ServiceOperation
@Mutable
@NotThreadSafe
public static interface ServiceOperation.Builder
extends SdkPojo, CopyableBuilder<ServiceOperation.Builder,ServiceOperation>
-
Method Summary
Modifier and TypeMethodDescriptionmetricReferences
(Collection<MetricReference> metricReferences) An array of structures that each contain information about one metric associated with this service operation 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 operation that was discovered by Application Signals.metricReferences
(MetricReference... metricReferences) An array of structures that each contain information about one metric associated with this service operation that was discovered by Application Signals.The name of the operation, discovered by Application Signals.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
-
name
The name of the operation, discovered by Application Signals.
- Parameters:
name
- The name of the operation, 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 operation that was discovered by Application Signals.
- Parameters:
metricReferences
- An array of structures that each contain information about one metric associated with this service operation 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 operation that was discovered by Application Signals.
- Parameters:
metricReferences
- An array of structures that each contain information about one metric associated with this service operation 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 operation 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:
-