Interface ContainerLogRotationConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContainerLogRotationConfiguration.Builder,,ContainerLogRotationConfiguration> SdkBuilder<ContainerLogRotationConfiguration.Builder,,ContainerLogRotationConfiguration> SdkPojo
- Enclosing class:
ContainerLogRotationConfiguration
@Mutable
@NotThreadSafe
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
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
-
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.
-