Interface Dimensions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Dimensions.Builder,Dimensions>,SdkBuilder<Dimensions.Builder,Dimensions>,SdkPojo
- Enclosing class:
- Dimensions
public static interface Dimensions.Builder extends SdkPojo, CopyableBuilder<Dimensions.Builder,Dimensions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dimensions.Builderchannel(String channel)The channel used for grouping and filters.Dimensions.Builderchannel(Channel channel)The channel used for grouping and filters.default Dimensions.Builderqueue(Consumer<QueueReference.Builder> queue)Information about the queue for which metrics are returned.Dimensions.Builderqueue(QueueReference queue)Information about the queue for which metrics are returned.default Dimensions.BuilderroutingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)Sets the value of the RoutingProfile property for this object.Dimensions.BuilderroutingProfile(RoutingProfileReference routingProfile)Sets the value of the RoutingProfile property for this object.Dimensions.BuilderroutingStepExpression(String routingStepExpression)The expression of a step in a routing criteria.-
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, sdkFields
-
-
-
-
Method Detail
-
queue
Dimensions.Builder queue(QueueReference queue)
Information about the queue for which metrics are returned.
- Parameters:
queue- Information about the queue for which metrics are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queue
default Dimensions.Builder queue(Consumer<QueueReference.Builder> queue)
Information about the queue for which metrics are returned.
This is a convenience method that creates an instance of theQueueReference.Builderavoiding the need to create one manually viaQueueReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueue(QueueReference).- Parameters:
queue- a consumer that will call methods onQueueReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queue(QueueReference)
-
channel
Dimensions.Builder channel(String channel)
The channel used for grouping and filters.
-
channel
Dimensions.Builder channel(Channel channel)
The channel used for grouping and filters.
-
routingProfile
Dimensions.Builder routingProfile(RoutingProfileReference routingProfile)
Sets the value of the RoutingProfile property for this object.- Parameters:
routingProfile- The new value for the RoutingProfile property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingProfile
default Dimensions.Builder routingProfile(Consumer<RoutingProfileReference.Builder> routingProfile)
Sets the value of the RoutingProfile property for this object. This is a convenience method that creates an instance of theRoutingProfileReference.Builderavoiding the need to create one manually viaRoutingProfileReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingProfile(RoutingProfileReference).- Parameters:
routingProfile- a consumer that will call methods onRoutingProfileReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
routingProfile(RoutingProfileReference)
-
routingStepExpression
Dimensions.Builder routingStepExpression(String routingStepExpression)
The expression of a step in a routing criteria.
- Parameters:
routingStepExpression- The expression of a step in a routing criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-