Interface PersistentConnectionConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PersistentConnectionConfig.Builder,,PersistentConnectionConfig> SdkBuilder<PersistentConnectionConfig.Builder,,PersistentConnectionConfig> SdkPojo
- Enclosing class:
PersistentConnectionConfig
@Mutable
@NotThreadSafe
public static interface PersistentConnectionConfig.Builder
extends SdkPojo, CopyableBuilder<PersistentConnectionConfig.Builder,PersistentConnectionConfig>
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration settings for persistent connection.Configuration settings for persistent connection.persistentConnection(Boolean persistentConnection) Indicates whether persistent connection is enabled.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, sdkFieldNameToField, sdkFields
-
Method Details
-
channel
Configuration settings for persistent connection. Only
VOICEis supported for this data type.- Parameters:
channel- Configuration settings for persistent connection. OnlyVOICEis supported for this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channel
Configuration settings for persistent connection. Only
VOICEis supported for this data type.- Parameters:
channel- Configuration settings for persistent connection. OnlyVOICEis supported for this data type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistentConnection
Indicates whether persistent connection is enabled. When enabled, the agent's connection is maintained after a call ends, enabling subsequent calls to connect faster.
- Parameters:
persistentConnection- Indicates whether persistent connection is enabled. When enabled, the agent's connection is maintained after a call ends, enabling subsequent calls to connect faster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-