Interface DataStorage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DataStorage.Builder,DataStorage>,SdkBuilder<DataStorage.Builder,DataStorage>,SdkPojo
- Enclosing class:
- DataStorage
public static interface DataStorage.Builder extends SdkPojo, CopyableBuilder<DataStorage.Builder,DataStorage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DataStorage.BuildercwLog(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.DataStorage.BuildercwLog(CwLog cwLog)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, sdkFields
-
-
-
-
Method Detail
-
cwLog
DataStorage.Builder cwLog(CwLog 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
default 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. If it does, this structure also contains the name of the log group.
This is a convenience method that creates an instance of theCwLog.Builderavoiding the need to create one manually viaCwLog.builder().When the
Consumercompletes,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:
cwLog(CwLog)
-
-