Interface QualityMetrics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QualityMetrics.Builder,
,QualityMetrics> SdkBuilder<QualityMetrics.Builder,
,QualityMetrics> SdkPojo
- Enclosing class:
QualityMetrics
@Mutable
@NotThreadSafe
public static interface QualityMetrics.Builder
extends SdkPojo, CopyableBuilder<QualityMetrics.Builder,QualityMetrics>
-
Method Summary
Modifier and TypeMethodDescriptiondefault QualityMetrics.Builder
agent
(Consumer<AgentQualityMetrics.Builder> agent) Information about the quality of Agent media connection.agent
(AgentQualityMetrics agent) Information about the quality of Agent media connection.default QualityMetrics.Builder
customer
(Consumer<CustomerQualityMetrics.Builder> customer) Information about the quality of Customer media connection.customer
(CustomerQualityMetrics customer) Information about the quality of Customer media connection.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
-
agent
Information about the quality of Agent media connection.
- Parameters:
agent
- Information about the quality of Agent media connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agent
Information about the quality of Agent media connection.
This is a convenience method that creates an instance of theAgentQualityMetrics.Builder
avoiding the need to create one manually viaAgentQualityMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagent(AgentQualityMetrics)
.- Parameters:
agent
- a consumer that will call methods onAgentQualityMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customer
Information about the quality of Customer media connection.
- Parameters:
customer
- Information about the quality of Customer media connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
Information about the quality of Customer media connection.
This is a convenience method that creates an instance of theCustomerQualityMetrics.Builder
avoiding the need to create one manually viaCustomerQualityMetrics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomer(CustomerQualityMetrics)
.- Parameters:
customer
- a consumer that will call methods onCustomerQualityMetrics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-