Interface ContainerLogRotationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ContainerLogRotationConfiguration.Builder,
,ContainerLogRotationConfiguration> SdkBuilder<ContainerLogRotationConfiguration.Builder,
,ContainerLogRotationConfiguration> SdkPojo
- Enclosing class:
ContainerLogRotationConfiguration
public static interface ContainerLogRotationConfiguration.Builder
extends SdkPojo, CopyableBuilder<ContainerLogRotationConfiguration.Builder,ContainerLogRotationConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionmaxFilesToKeep
(Integer maxFilesToKeep) The number of files to keep in container after rotation.rotationSize
(String rotationSize) The file size at which to rotate 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 Details
-
rotationSize
The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.
- Parameters:
rotationSize
- The file size at which to rotate logs. Minimum of 2KB, Maximum of 2GB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxFilesToKeep
The number of files to keep in container after rotation.
- Parameters:
maxFilesToKeep
- The number of files to keep in container after rotation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-