Interface NetworkSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkSettings.Builder,,NetworkSettings> SdkBuilder<NetworkSettings.Builder,,NetworkSettings> SdkPojo
- Enclosing class:
NetworkSettings
-
Method Summary
Modifier and TypeMethodDescriptiondataRetention(Boolean dataRetention) Indicates whether the data retention feature is enabled for the network.enableClientMetrics(Boolean enableClientMetrics) Allows Wickr clients to send anonymized performance and usage metrics to the Wickr backend server for service improvement and troubleshooting.default NetworkSettings.BuilderreadReceiptConfig(Consumer<ReadReceiptConfig.Builder> readReceiptConfig) Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.readReceiptConfig(ReadReceiptConfig readReceiptConfig) Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.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
-
enableClientMetrics
Allows Wickr clients to send anonymized performance and usage metrics to the Wickr backend server for service improvement and troubleshooting.
- Parameters:
enableClientMetrics- Allows Wickr clients to send anonymized performance and usage metrics to the Wickr backend server for service improvement and troubleshooting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReceiptConfig
Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.
- Parameters:
readReceiptConfig- Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
readReceiptConfig
default NetworkSettings.Builder readReceiptConfig(Consumer<ReadReceiptConfig.Builder> readReceiptConfig) Configuration for read receipts at the network level, controlling the default behavior for whether senders can see when their messages have been read.
This is a convenience method that creates an instance of theReadReceiptConfig.Builderavoiding the need to create one manually viaReadReceiptConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreadReceiptConfig(ReadReceiptConfig).- Parameters:
readReceiptConfig- a consumer that will call methods onReadReceiptConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataRetention
Indicates whether the data retention feature is enabled for the network. When true, messages are captured by the data retention bot for compliance and archiving purposes.
- Parameters:
dataRetention- Indicates whether the data retention feature is enabled for the network. When true, messages are captured by the data retention bot for compliance and archiving purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-