Interface DataStorage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataStorage.Builder,
,DataStorage> SdkBuilder<DataStorage.Builder,
,DataStorage> SdkPojo
- Enclosing class:
DataStorage
@Mutable
@NotThreadSafe
public static interface DataStorage.Builder
extends SdkPojo, CopyableBuilder<DataStorage.Builder,DataStorage>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataStorage.Builder
cwLog
(Consumer<CwLog.Builder> cwLog) A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs.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
-
cwLog
A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.
- Parameters:
cwLog
- A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cwLog
A structure that contains the information about whether the app monitor stores copies of the data that RUM collects in CloudWatch Logs. If it does, this structure also contains the name of the log group.
This is a convenience method that creates an instance of theCwLog.Builder
avoiding the need to create one manually viaCwLog.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocwLog(CwLog)
.- Parameters:
cwLog
- a consumer that will call methods onCwLog.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-