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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerLogRotationConfiguration.BuildermaxFilesToKeep(Integer maxFilesToKeep)The number of files to keep in container after rotation.ContainerLogRotationConfiguration.BuilderrotationSize(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 Detail
-
rotationSize
ContainerLogRotationConfiguration.Builder rotationSize(String 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
ContainerLogRotationConfiguration.Builder maxFilesToKeep(Integer 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.
-
-